A list of 140 CSS questions and answers. Written while reading the MDN CSS docs.
use-persisted-state allows for multi-instance, multi-tab/browser shared and persistent state so you can keep track of the questions you've already answered.
Does the proximity elements have any effect on specificity? For example is 'main div' more specific than 'html div'?
What does LVHA mean in CSS?
What does :not(*) select?
What are the three parameters the clamp() function takes?
I was frustrated that searching "CSS questions" returned a bunch of "Top 5-20 CSS questions" blog posts with questions that rarely asked actual CSS Questions. I thought a resource with more questions that focused soley on CSS might be useful.
Site was bootstrapped with Create React App
git clone [email protected]:codypearce/css-questions.git
npm i
npm start
All questions are stored in src/questions
All contributions are welcome including new questions, fixing current questions or design. Many questions were written in a short time period and could use review.