Css transform on css generated content for ::after, ::before elements - HTML CSS CSS Animation

HTML CSS examples for CSS Animation:Transform

Description

Css transform on css generated content for ::after, ::before elements

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
a {<!--  w ww  .j  a  va  2s.c  o m-->
   text-decoration:none;
}

a:after {}
a:after {
   display:inline-block;
   content:' ?';
   -webkit-transform:rotate(181deg);
}
</style> 
 </head> 
 <body> 
  <a href="#">Lorem</a>  
 </body>
</html>

Related Tutorials