Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Font Awesome need inverse

Need a help to inverse icon.. I know that I can actually use fa-inverse but how I using this here? My css code:

hr.style-eight:after {
    font-family: FontAwesome;
    content: "\f0ad";
    display: inline-block;
    position: relative; 
    top: -0.7em;  
    font-size: 1.5em;

    padding: 0 0.25em;
    background:#333333;
}

Thanks!

like image 732
Sansevna Avatar asked May 01 '14 21:05

Sansevna


1 Answers

You can flip an element using the following:

hr.style-eight:after {
    -webkit-transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}
like image 96
agrm Avatar answered Sep 19 '22 19:09

agrm