Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   CSS (https://www.askmehelpdesk.com/forumdisplay.php?f=445)
-   -   How to use the before and after pseudo elements in to inline css? (https://www.askmehelpdesk.com/showthread.php?t=826826)

  • Aug 8, 2016, 03:59 AM
    Cool_nesh
    How to use the before and after pseudo elements in to inline css?
    I want to add after: elements into inline css. I know about internal but I can't perform same for inline.I want to add after: elements into inline css. I know about internal but I can't perform same for inline.
  • Sep 4, 2016, 05:20 PM
    InfoJunkie4Life
    I am uncertain, however, I believe that psuedoelements can only be used in stylesheets and within the head under the <style> tag. It seems that it would be kind of pointless to add an after/before element to individual <p> tags, when you could just write it in, in HTML.

    There are other options, like

    <style>
    #p01::after {
    content: url(something.png);
    }
    </style>
    .
    .
    .
    <p id="p01">
    CONTENT
    </p>

  • All times are GMT -7. The time now is 03:34 AM.