CSS Flashcards
What is the difference between classes and IDs in CSS?
- An element can have multiple classes
- Multiple elements can have the same class
- IDs should apply to only one element
What’s the difference between “resetting” and “normalizing” CSS?
a
Describe Floats and how they work.
a
Describe z-index and how stacking context is formed.
a
Describe BFC(Block Formatting Context) and how it works.
a
What are the various clearing techniques and which is appropriate for what context?
a
Explain CSS sprites, and how you would implement them on a page or site.
a
What are your favourite image replacement techniques and which do you use when?
a
How would you approach fixing browser-specific styling issues?
a
How do you serve your pages for feature-constrained browsers?
a
What are the different ways to visually hide content (and make it available only for screen readers)?
a
Have you ever used a grid system, and if so, what do you prefer?
a
What are media queries?
a
How do you style SVG?
a
How do you optimize your webpages for print?
a