Things I Wish I’d Known About CSS

Some useful things to understand before starting out with CSS. By Dave Smyth.
Shared by
Published
Sponsored
Need help with website, a boost in ranking or online marketing? Contact me today for a free quote.
Find your next web developer job
jobs by Indeed

If you’re new to CSS or a designer diving into web design, check out this article by Dave Smyth, Things I Wish I’d Known About CSS.

Here’s a quick peek:

  • Block, inline and inline-block
  • Images are inline
  • How height and width are calculated
  • Padding & margin aren’t the same
  • Margins collapse
  • Browsers have a default stylesheet
  • Use relative units everywhere
  • ::before and ::after need content
  • The ch unit
  • Normal flow
  • Styling :focus states
  • :nth-child()

Did you find Things I Wish I’d Known About CSS useful? Get articles in your inbox.

…and don’t worry, I hate spam as much as you. Expect to hear from me at most once a week.

Latest Job Postings
Posted on Aug 9, 2020 at 9:17pm
Full-time
Los Angeles
Posted on Aug 9, 2020 at 9:15pm
Full-time
Los Angeles
Posted on Aug 9, 2020 at 1:19am
Littleton, CO
jobs by Indeed
Sponsored
Do you run a development agency, freelance developer or offer website services. Contact me today for information about advertising.
Sponsored
Need help with website, a boost in ranking or online marketing? Contact me today for a free quote.
Sponsored
Sponsor my site by donating to help support open-source projects, like WordPress Zero Spam, Referrer Analytics & others.
Sponsored
Sponsor my site by donating to help support open-source projects, like WordPress Zero Spam, Referrer Analytics & others.
Sponsored
Do you have a great article to share you want to contribute? Contact me about your idea.

Leave a Reply

Your email address will not be published. Required fields are marked *

All comments posted on 'Things I Wish I’d Known About CSS' are held for moderation and only published when on topic and not rude. Get a gold star if you actually read & follow these rules.

You may write comments in Markdown. This is the best way to post any code, inline like `<div>this</div>` or multiline blocks within triple backtick fences (```) with double new lines before and after.

Want to tell me something privately, like pointing out a typo or stuff like that? Contact Me.