1/17
Flashcards covering key vocabulary related to Cascading Style Sheets (CSS) and its syntax, properties, selectors, and methods.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Cascading Style Sheets (CSS)
A W3C standard for describing the appearance of HTML elements.
CSS Syntax
The structure of writing CSS rules which includes selectors and declarations.
Selector
The part of a CSS rule that identifies which HTML elements will be affected by the declarations.
Property
A predefined attribute in CSS that specifies a characteristic of the selected element.
Inline Styles
CSS styles applied directly within an HTML element using the style attribute.
Embedded Style Sheets
CSS rules placed within the
External Style Sheets
CSS rules stored in a separate text file with a .css extension, linked to HTML documents.
Element Selector
A selector that targets every instance of a specific HTML element.
Class Selector
A selector that targets HTML elements with a specific class attribute, denoted by a period (.) followed by the class name.
ID Selector
A selector that targets a specific element by its id attribute, denoted by a hash (#) followed by the id name.
Font Property
CSS properties that define the font characteristics of text elements.
Color and Background Property
CSS properties related to the colors and backgrounds of elements.
Spacing Property
CSS properties that control the spacing around and within elements.
Layout Property
CSS properties that define how elements are positioned on a web page.
Animation Property
CSS properties that define animation effects on elements.
RGB Color Model
A method of defining colors using red, green, and blue values.
Hexadecimal Color Code
A method of specifying colors using a six-digit number indicating red, green, and blue values.
Viewport Units
CSS units (vw, vh) that are relative to the size of the viewport (browser window).