Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Enhancing HTML Content by Pseudo Elements

    • 0
    • 1
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 780
    Comment on it

    Pseudo Elements play important role while designing some web based stuff. With pseudo elements we can add content after or before any element in our web page. Below is very simple demonstration.

    <h1>Use of Before</h1>
    <h2>Use of After</h2>
    
    h1:before {content:url(twit.png);}
    h2:after {content:url(twit.png);}
    

    Here we have appended an image before H1 tag selector and after H2 tag selector as well. Output

    Free Web Proxy

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: