HOW TO USE CSS ATTR() FUNCTION

Ankit Singh

Total Post:341

Points:2389
Posted by  Ankit Singh
 659  View(s)
Ratings:
Rate this:
I want to use CSS attr() Function How to do this please help me.
  1. aditya kumar Patel

    Post:254

    Points:1810
    Re: How to use CSS attr() Function

    a

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Forum.aspx.cs" Inherits="Forumasp.Forum" %>

    <!DOCTYPE html>

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
     <style>
    a:after {content: " (" attr(href) ")";}
    </style>

    </head>
    <body>
     <a href="http://www.mindstick.com">Go to mindstick.com</a

    <a href="http://www.mindstick.com/DeveloperSection">Go to mindstick ' DeveloperSectionl</a>
     
    </body>
    </html>

     

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!