Posted By

pablazo on 12/20/07


Tagged

css herencia


Versions (?)

CSS elements heritage


 / Published in: CSS
 

  1. <html>
  2. <head>
  3. <style>
  4. .completo{
  5. color: red;
  6. font-family:serif;
  7. }
  8.  
  9. .parte{
  10. font-family:monospace;
  11. }
  12.  
  13. </style>
  14. </head>
  15. <body>
  16. <div class="completo parte"> texto en rojo, bold y arial </div>
  17. </body>
  18. </html>

Report this snippet  

You need to login to post a comment.