CSS Review and Design Fundamentals

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/59

flashcard set

Earn XP

Description and Tags

Flashcards covering the foundational and advanced CSS concepts needed for web design certification, including specificity, layout models, design principles, and responsive units.

Last updated 1:40 PM on 6/12/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

60 Terms

1
New cards

CSS

Cascading Style Sheets (CSS) is a markup language used to apply styles to HTML elements, such as colors, background images, and layouts.

2
New cards

Selector

A pattern used in CSS to identify and target specific HTML elements for styling.

3
New cards

Declaration Block

A part of a CSS rule that applies a set of styles for a given selector or selectors.

4
New cards

meta name="viewport" Element

Provides the browser instructions on how to control page dimensions and scaling on different devices, specifically mobile phones and tablets.

5
New cards

Inline CSS

Styles written directly within an HTML element using the style attribute, though generally avoided due to separation of concerns.

6
New cards

Internal CSS

Styles written within < style > tags in the head section of an HTML document, allowing for specific page styling.

7
New cards

External CSS

Styles written in a separate .css.css file and linked to the HTML document using the link element.

8
New cards

width Property

Specifies the width of an element, defaulting to autoauto which allows the browser to determine width based on content and parent.

9
New cards

Descendant Combinator ( )

Indicated by a single space between selectors, it targets elements that are descendants of a specified parent element.

10
New cards

Child Combinator ( > )

Selects elements that are direct children of a specified parent element.

11
New cards

Next-sibling Combinator ( + )

Selects an element that immediately follows a specified sibling element.

12
New cards

Subsequent-sibling Combinator ( ~ )

Selects all siblings of a specified element that come after it.

13
New cards

Inline Level Elements

Elements that only take up as much width as they need, do not start on a new line, and flow within content; examples include spanspan, anchor (aa), and imgimg.

14
New cards

Block Level Elements

Elements that take up the full available width by default and stretch across their container; examples include divdiv, pp, and sectionsection.

15
New cards

Inline-Block Level Elements

Elements that behave like inline elements but can have a width and height set like block-level elements.

16
New cards

margin Property

Applied to space outside the element, between the element's border and surrounding elements.

17
New cards

padding Property

Applied to space inside the element, between the content and its border.

18
New cards

Inline CSS Specificity

The highest level of specificity with a value of (1,0,0,0)(1, 0, 0, 0); it overrides internal or external CSS.

19
New cards

Universal Selector ( * )

Matches any element in the document and has the lowest specificity value of (0,0,0,0)(0, 0, 0, 0); it contributes 00 to all parts of the specificity value.

20
New cards

Type Selectors

Target elements based on their tag name with a specificity value of (0,0,0,1)(0, 0, 0, 1).

21
New cards

Class Selectors

Defined by a period .. followed by the class name, with a specificity value of (0,1,0)(0, 1, 0).

22
New cards

ID Selectors

Defined by a hash symbol # followed by the ID name, with a specificity value of (0,1,0,0)(0, 1, 0, 0).

23
New cards

!important keyword

Used to give a style rule the highest priority, forcing the browser to apply it regardless of specificity.

24
New cards

Cascade Algorithm

An algorithm used to decide which CSS rules to apply when multiple styles target the same element.

25
New cards

CSS Inheritance

The process by which styles are passed down from parent elements to their children.

26
New cards

Layout

How visual elements like text, images, and white space are arranged on a page to communicate a message.

27
New cards

Hierarchy

Establishes the order of importance of elements in a design to ensure the most important information is noticed first.

28
New cards

Contrast

Creating clear distinctions between elements through variations in color, size, shape, or texture.

29
New cards

UX (User Experience)

How users feel when using a product; a well-designed experience is intuitive, efficient, accessible, and enjoyable.

30
New cards

Progressive Enhancement

A design approach ensuring all users can access essential content regardless of browser or device.

31
New cards

Progressive Disclosure

A design pattern that hides content until it is relevant to the user's current activity to reduce cognitive load.

32
New cards

px (Pixels)

An absolute unit where 1px1px is always equal to 1/96th1/96t{h} of an inch.

33
New cards

cm (Centimeters)

An absolute unit equal to 25.2/6425.2/64 of an inch.

34
New cards

em Unit

A relative unit proportional to the font size of the element; if used for font-size, it is relative to the parent element.

35
New cards

rem Unit

A relative unit proportional to the font size of the root element (htmlhtml).

36
New cards

vh Unit

Stands for 'viewport height'; 1vh1vh is equal to 11 percent of the viewport's height.

37
New cards

vw Unit

Stands for 'viewport width'; 1vw1vw is equal to 11 percent of the viewport's width.

38
New cards

Pseudo-classes

Special CSS keywords used to select an element based on its specific state or position.

39
New cards

:focus-within Pseudo-class

Applies styles to an element when it or any of its descendants have focus.

40
New cards

Functional Pseudo-classes

Pseudo-classes that accept arguments to select elements based on complex relationships, such as :is():is(), :where():where(), and :has():has().

41
New cards

::marker Pseudo-element

Allows for the styling of the marker (bullet or numbering) of list items.

42
New cards

Complementary Color Schemes

Colors located on opposite ends of the color wheel that create high contrast.

43
New cards

Hexadecimal

A six-character string representing colors in the RGB model using base-1616 numbering (00 to 99 and AA to FF).

44
New cards

The Box Model

Concept where every element is surrounded by four components: the content area, padding, border, and margin.

45
New cards

Margin Collapse

Behavior where vertical margins of adjacent elements overlap, resulting in a single margin equal to the larger of the two.

46
New cards

border-box Value

A box-sizing value where width and height include the content area, padding, and border, but not the margin.

47
New cards

CSS Flexbox

A one-dimensional layout model used for arranging elements in rows and columns.

48
New cards

justify-content Property

Aligns child elements along the main axis of a flex container.

49
New cards

Typeface

The overall design and style of a set of characters, serving as a blueprint for a family of fonts.

50
New cards

Kerning

Adjustment of space between specific pairs of characters to improve readability.

51
New cards

Leading

The vertical space between lines of text measured from baseline to baseline.

52
New cards

@font-face At-rule

Allows the definition of a custom font by specifying font resources, formats, weight, and style.

53
New cards

woff and woff2

Stands for 'Web Open Font Format'; the primary difference between the two is the data compression algorithm used.

54
New cards

Accessibility Tree

A structure used by assistive technologies like screen readers to interpret and interact with webpage content.

55
New cards

aria-hidden attribute

Used to hide an element from assistive technology like screen readers while remaining visible to sighted users.

56
New cards

Sticky Positioning

A hybrid between relative and fixed positioning where an element stays in the document flow until it scrolls past a point and 'sticks' to the viewport.

57
New cards

Media Breakpoints (Smartphones)

Design adjustments for small devices targeting screens up to 640px640px.

58
New cards

CSS Grid

A two-dimensional layout system used for creating complex layouts with rows and columns.

59
New cards

fr (Fractional) Unit

A unit representing a fraction of the available space within a grid container.

60
New cards

@keyframes Rule

Defines the stages and styles of a CSS animation at various points during its duration.