0

it must be very simple question but im struggling to find a solution. I would like to change the title text to my own text as a link through css. this is what i have so far:

.title {
   display: none;
}

.title::before {
  content: "here is my text as a link ???..."
} 

the text displays ok, but do not understand how to make it work as a link?!any ideas?! the question is - what to add to my style (::before) to make text look and actually work as a link to other page of my app ?! Thank you!

Fabrizio Calderan
  • 120,726
  • 26
  • 164
  • 177
USSR
  • 301
  • 1
  • 3
  • 22

1 Answers1

0

Give your Url in that and check it out:

.title::after {
 content: "here is my text as a link ???...",url(http://www.w3schools.com/);
 } 
rajesh
  • 1,475
  • 10
  • 23
  • unfortunately it doesn't work, I've tried this earlier ... looks like Oriol and Paulie_D are wright, we cannot use HTML tags with pseudo elements .. Thanks anyway! – USSR Jan 30 '15 at 07:46