Ashley Cameron Design

Ashley Cameron Design

Shop the Creative Design Market

Good morning

Style links depending on file format

CSSSnippets

About a 1 minute read

"The passion that we seek is within every experience; we just have to find it."

Ashley N Cameron


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* external links */
    a[href^="http://"]{
        padding-right: 20px;
        background: url(external.gif) no-repeat center right;
    }

/* emails */
    a[href^="mailto:"]{
        padding-right: 20px;
        background: url(email.png) no-repeat center right;
    }

/* pdfs */
    a[href$=".pdf"]{
        padding-right: 20px;
        background: url(pdf.png) no-repeat center right;
    }