11101+01010
100111
What does CSS stand for?
Cascading Style Sheets
What is the universal selector in CSS?
*
This defines a dotted border
How do you clear floats to prevent layout issues?
Use the clear property
101 - 110
0111
How do you change the background of a webpage to color blue?
body { background-color: blue; }
What selector is used to style multiple elements at once?
,
What properties are used to create space around elements, outside of any defined borders?
Margins
What happens when a parent element contains only floated children?
The parent collapses and has zero height unless cleared.
1101*101
100001
How do you make text bold in CSS?
font-weight: bold;
What does the * selector do in CSS?
Selects all elements on the page
What property specifies the width of the four borders?
border-width
What values can the float property take?
left, right, none, inherit
1101*011
100111
How do you make a div take up the full width of the screen?
width: 100vw; or width: 100%;
How do you select only direct child elements in CSS?
>
The color of the border can also be specified using a _________.
HEX/Hexadecimal Value
What is the default value of float?
None
10/11010
1101
What is the default position of an HTML element?
static
How do you select an element when the user hovers over it?
:hover
This specifies that the margin should be inherited from the parent element.
Inherit
How do you ensure a parent contains its floated children?
Use clearfix or overflow: hidden;