SASS: Pseudo element

0 votes
123 views
added Aug 14, 2017 in SCSS by anonymous
edited Aug 15, 2017 by anonymous
p {
    margin: 2em auto;

    > a {
        color: red;
    }

    &:before {
        content: "";
    }

    &:after {
        content: "* * *";
    }
}
lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...