Week 5 Blog Post

Describe how the :not pseudo selector works. Give an example in an Enlighter code snippet to support your description.

The :not() pseudo-selector selects everything that you pass as a parameter except the last child of it.

&:not(:last-child) {
        margin-bottom: $gutter-vertical;
    }
width: calc((100% - #{$gutter-horizontal}) / 2);

Here is a link to my directory.

Leave a comment

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

css.php