How add a downarrow after an element with CSS?

This question already has an answer here:

  • Adding HTML entities using CSS content 9 answers

  • try using theirs unicode positions instead

    table th.headerSortUp:after {
       content: " 2191";
    }
    
    table th.headerSortDown:after {
       content: " 2193";
    }
    
    table th:after {
       color: #123456;
    }
    

    See http://www.blooberry.com/indexdot/html/tagpages/entities/arrow.htm for other arrow symbols.

    链接地址: http://www.djcxy.com/p/15534.html

    上一篇: 在CSS中的引号:在元素之后

    下一篇: 如何在CSS元素之后添加一个向下的元素?