DEV Community

David Sima
David Sima

Posted on


How do you start your css file?

I usually start like this:

*:not(ul):not(ol) {
  margin: 0;
  padding: 0;

It reverts most of the browser specific styles that I care of in the beginning preserving lists markers.

Latest comments (1)

cecilelebleu profile image
Cécile Lebleu

Interesting snippet! I’ll probably use it 😁
I usually start by defining global color variables, and also * {margin: 0}

Timeless DEV post...

Git Concepts I Wish I Knew Years Ago

The most used technology by developers is not Javascript.

It's not Python or HTML.

It hardly even gets mentioned in interviews or listed as a pre-requisite for jobs.

I'm talking about Git and version control of course.

One does not simply learn git