General and Web Programming Fundamentals
  • Introduction
  • Program creation and design
    • Program design
      • Algorithms
      • Pseudocode
    • Programming conventions
    • Writing programs
      • Source code editors
      • Integrated Development Environments
      • Code repositories/Version control
      • Compilers/Interpreters
  • Programming Fundamentals
    • Operators
      • Arithmetic
      • Logical
      • Assignment
    • Constants and Variables
    • Datatypes
      • Primitive Datatypes
        • Character
        • Integer
        • Boolean
        • Floating point
        • Nothing (Null)
      • Composite Datatypes
        • Arrays
        • Strings
        • Classes
        • Structs
      • Literals
    • Data structures
      • Lists
      • Queues
      • Stacks
      • Map/dictionary
      • Trees
      • Graphs
    • Control structures
      • Selection (Conditional)
        • If/Else
        • Ternary
        • Switch
      • Iteration (Loops)
        • For loops
        • While loops
        • Do-While loops
        • For-Each loops
    • Functions
      • Parameters and arguments
      • Lambda expressions
      • Higher Order Functions
    • Space and Time
    • Scope
    • Standard libraries
  • Programming Paradigms
    • Procedural (Imperative) Programming
    • Object-oriented programming
    • Functional Programming
    • Declarative Programming
    • Event Driven programming
  • Programming Languages
    • Short history of programming
    • Low-level programming languages
    • High-level programming languages
  • Web Development
    • What is the web?
      • Web browsers (clients)
      • Webservers (serving web pages)
      • W3C
    • Markup languages
      • HTML
        • HTML Tags
      • Cascading Style Sheets (CSS)
        • CSS Properties
      • XML
      • Markdown
    • Scripting Languages
      • JavaScript
      • TypeScript
    • JSON
    • JavaScript Frameworks
  • Acknowledgements
    • About the author(s)
  • License
Powered by GitBook
On this page
Export as PDF
  1. Web Development
  2. Markup languages
  3. Cascading Style Sheets (CSS)

CSS Properties

PreviousCascading Style Sheets (CSS)NextXML

Last updated 1 year ago

Was this helpful?

CtrlK

Was this helpful?

List of CSS Properties

Text and Fonts

  • color

  • font-family

  • font-size

  • font-weight

  • text-align

  • text-decoration

  • line-height

  • letter-spacing

  • text-transform

Layout

  • display

  • position

  • top, right, bottom, left

  • float

  • clear

  • z-index

  • overflow

  • flex related properties (flex-direction, flex-wrap, justify-content, align-items, flex-grow, flex-shrink, flex-basis)

  • grid related properties (grid-template-columns, grid-template-rows, grid-column, grid-row, grid-area, grid-gap)

Borders and Backgrounds

  • border

  • border-radius

  • background-color

  • background-image

  • background-position

  • background-size

  • background-repeat

Dimensions

  • width

  • height

  • max-width

  • max-height

  • min-width

  • min-height

  • margin

  • padding

Visual Effects

  • box-shadow

  • text-shadow

  • opacity

  • transition

  • transform

  • animation

Other Properties

  • cursor

  • visibility

  • clip

  • filter

This list includes many of the fundamental CSS properties, but given the expansive nature of CSS, there are many more properties and values, especially under advanced topics and specifications.