michael-d
9/11/2017 - 1:35 AM

Pseudo Elements https://css-tricks.com/pseudo-element-roundup/

/* ------ Before/After Pseudo Elements---- */

    p:before {
    content: "";
    display: block;
    background: url("icon.jpg") no-repeat;
    width: 20px;
    height: 20px;
    float: left;
    margin: 0 6px 0 0;
}

    p:after {
    content: "";
    display: block;
    background: url("icon.jpg") no-repeat;
    width: 20px;
    height: 20px;
    float: left;
    margin: 0 6px 0 0;
}