How to use CSS attr() Function

Total Post:341

Points:2389
 1002  View(s)
Ratings:
Rate this:
I want to use CSS attr() Function How to do this please help me.
  1. Post:279

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

    <%@ 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>

     

      Modified On Apr-10-2018 06:53:10 AM

Answer

NEWSLETTER

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