Skip to content

Commit

Permalink
- in progress css
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebazhanov committed Apr 9, 2020
1 parent fe14bcb commit d473004
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions css/css-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,15 @@ div a
- div a
- a
- ul li a

#### Q2. Using an attribute selector, how would you select an `<a>` element with a "title" attribute?
- a[title]{...}
- a > title {...}
- a.title {...}
- a=title {...}

#### Q3. CSS grid and flexbox are now becoming a more popular way to create page layouts. However, floats are still commonly used, especially when working with an older code base, or it you need to support older browser version. What are two valid techniques used to clear floats?
- Use the "clearfix hack" on the floated element and add a float to the parent element.
- Use the overflow property on the floated element or the "clearfix hack" on either the floated or parent element.
- Use the "clearfix hack" on the floated element or the overflow property on the parent element.
- Use the "clearfix hack" on the parent element or use the overflow property with a value other than "visible."

0 comments on commit d473004

Please sign in to comment.