CSS Flexbox Vocabulary Flashcards

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/23

flashcard set

Earn XP

Description and Tags

Vocabulary-style flashcards covering Flexbox concepts from the lecture notes.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

24 Terms

1
New cards

Flexbox

A CSS layout model designed to create flexible, responsive layouts by controlling alignment, spacing, and order of items within a container.

2
New cards

Flex container

An element with display: flex; its direct children become flex items.

3
New cards

Flex items

Direct children of a flex container that participate in the flexible layout.

4
New cards

Main axis

The primary axis along which flex items are laid out; direction is set by flex-direction.

5
New cards

Cross axis

The axis perpendicular to the main axis.

6
New cards

Flex-direction

Property that controls the direction of the main axis; values include row, row-reverse, column, column-reverse.

7
New cards

Row

Default flex-direction value; lays items out horizontally.

8
New cards

Row-reverse

Lays items out horizontally in reverse order.

9
New cards

Column

Lays items out vertically.

10
New cards

Column-reverse

Lays items out vertically in reverse order.

11
New cards

Justify-content

Distributes space along the main axis; values include flex-start, flex-end, center, space-between, space-around, space-evenly.

12
New cards

Align-items

Aligns items along the cross axis; values include flex-start, flex-end, center, baseline, stretch.

13
New cards

Flex-wrap

Controls whether items wrap onto multiple lines; values: nowrap, wrap, wrap-reverse.

14
New cards

Align-content

Aligns wrapped lines; effective only when items wrap; values include flex-start, flex-end, center, space-between, space-around, stretch.

15
New cards

Flex-grow

Determines how much free space a flex item should take relative to other items.

16
New cards

Flex-shrink

Determines how much a flex item should shrink when space is limited.

17
New cards

Flex-basis

The initial main size of a flex item before growing or shrinking.

18
New cards

Flex

Shorthand for flex-grow, flex-shrink, and flex-basis (e.g., flex: 1 1 100px).

19
New cards

Order

Changes the visual order of items without changing their HTML order.

20
New cards

Display: flex

The CSS property that activates the flexbox layout on a container.

21
New cards

Centering with flexbox

To center items, use justify-content and align-items to center the content (justify-content: center; align-items: center).

22
New cards

Responsive navbar

A navigation bar layout that uses justify-content: space-between to evenly space items.

23
New cards

Auto margins

Using margin: auto to absorb remaining space for automatic spacing in flex layouts.

24
New cards

Flexbox animation

Applying transitions to flex properties to create smooth animations (e.g., hover increasing flex-grow with transition).