CSS Web Dev 1

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

1/34

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

35 Terms

1
New cards

What is CSS?

A styling language (not a programming or markup language).

2
New cards

What is the basic syntax for a CSS rule?

selector { property: value; }

3
New cards

What separates a property from its value?

A colon (:)

4
New cards

What terminates a CSS declaration?

A semicolon (;)

5
New cards

What is CSS applied directly in an HTML tag?

Inline styling.

6
New cards

What is the best practice for applying CSS to multiple pages?

External CSS.

7
New cards

What selector uses a hash symbol (#)?

ID selector.

8
New cards

What selector uses a dot (.)?

Class selector.

9
New cards

What selector targets all elements of a type (e.g., p)?

Type selector.

10
New cards

Must an ID be unique on a page?

Yes.

11
New cards

Can multiple elements share the same Class?

Yes.

12
New cards

What are the four parts of the CSS Box Model (inside to out)?

Content, Padding, Border, Margin.

13
New cards

Which part of the Box Model is the transparent space inside the border?

Padding.

14
New cards

Which part of the Box Model is the transparent space outside the border?

Margin.

15
New cards

What is the default position value?

static.

16
New cards

What position is relative to its normal flow position?

relative.

17
New cards

What position is fixed relative to the viewport?

fixed.

18
New cards

What position is relative to its closest positioned ancestor?

absolute.

19
New cards

Which property controls the visual stacking order (depth)?

z-index.

20
New cards

Which display value makes an element take full width?

block.

21
New cards

What is the only absolute CSS unit used in web development?

px (pixels).

22
New cards

Why are px units discouraged for text size in responsive design?

They are fixed and don't adapt.

23
New cards

Which relative unit is based on the root font size?

rem.

24
New cards

Which relative unit is based on the parent element's font size?

em.

25
New cards

What is a Media Query?

A rule (@media) to apply styles based on screen/device features.

26
New cards

What media query targets styles up to a size?

max-width.

27
New cards

What layout model is used for one-dimensional alignment and spacing?

Flexbox (Flexible Box Layout).

28
New cards

What property activates Flexbox?

display: flex;

29
New cards

What property distributes space on the main axis in Flexbox?

justify-content.

30
New cards

What CSS rule defines an animation sequence?

@keyframes.

31
New cards

What property links an element to an animation definition?

animation-name.

32
New cards

What are the four link states for styling?

:link, :visited, :hover, :active.

33
New cards

What is Bootstrap?

A front-end framework for fast, responsive web development.

34
New cards

How many columns are in Bootstrap's grid system?

12 columns.

35
New cards

What is a Wireframe?

A low-fidelity blueprint showing a page's structure (no styling