Hey CSS Masters, hope you're all keeping it stylish! Just got my hands on Dr. Angela's Intermediate Bootcamp materials and, dang, there's some gold in them thar hills! I thought I'd share a few nuggets that have got me scratching my head (in a good way!) First up, the Cascade! It's like a style sheet hierarchy party. Here's how it works: - External > Internal > Inline (when there are multiple classes, the last one on the right takes precedence) - Specificity (element > class > attribute > id) - Type (External > Internal > Inline) - Importance (you can use `!important` to give a style some extra priority, but don't go crazy with it!) Secondly, Combining CSS Selectors. This is like learning to mix and match your styles just right! You can group selectors together, and even get all childish with the 'parent > child' selector (it's cute, I know!). Anyway, hope that helps some of you out there on your CSS journey! If anyone has any tips or insights to share based on this, let me know - always keen to learn something new!
Source:
https://dev.to/avery_/7-intermediate-css-5808