Binary Operations
CSS
Syntax and Selectors
CSS Border and Margins
CSS Floating Elements
100

11101+01010

100111

100

What does CSS stand for?

Cascading Style Sheets

100

What is the universal selector in CSS?

*

100

This defines a dotted border 

Dotted
100

How do you clear floats to prevent layout issues?

Use the clear property

200

101 - 110

0111

200

How do you change the background of a webpage to color blue?

body { background-color: blue; } 

200

What selector is used to style multiple elements at once?

,

200

What properties are used to create space around elements, outside of any defined borders?

Margins

200

What happens when a parent element contains only floated children?

The parent collapses and has zero height unless cleared.

300

1101*101

100001

300

How do you make text bold in CSS?

font-weight: bold;

300

What does the * selector do in CSS?

Selects all elements on the page 

300

What property specifies the width of the four borders?

border-width

300

What values can the float property take?

left, right, none, inherit

400

1101*011

100111

400

How do you make a div take up the full width of the screen?

width: 100vw; or width: 100%;

400

How do you select only direct child elements in CSS?

>

400

The color of the border can also be specified using a _________.

HEX/Hexadecimal Value

400

What is the default value of float?

None

500

10/11010

1101

500

What is the default position of an HTML element?

static

500

How do you select an element when the user hovers over it?

:hover

500

This specifies that the margin should be inherited from the parent element.

Inherit

500

How do you ensure a parent contains its floated children?

Use clearfix or overflow: hidden;