Advertisement
piffy

CSS Devtools Walkthrough

Sep 22nd, 2022
998
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.39 KB | None | 0 0
  1. <!doctype html>
  2. <link href="http://fonts.cdnfonts.com/css/harry-potter" rel="stylesheet">          
  3. <html>
  4.     <head>
  5.         <title>Devtools walkthrough</title>
  6.             <style>
  7.                 @import url('http://fonts.cdnfonts.com/css/harry-potter');
  8.                     .personale {
  9.                         border-top: 2px palegreen dotted;
  10.                         border-bottom: 2px palegreen dotted;
  11.                         border-right: 3px palegreen dashed;
  12.                         border-left: 3px palegreen dashed;
  13.                         width:300px;
  14.                         padding: 2em;}
  15.  
  16.                     .gialloso {
  17.                         background-color: #ff0;
  18.                         color:maroon
  19.                     }
  20.  
  21.                     span:hover {
  22.                         font-style: italic;
  23.                         text-decoration: underline;
  24.                         text-decoration-color: black;
  25.                     }
  26.  
  27.                     .harry {
  28.                         font-family: 'Harry Potter', sans-serif;
  29.                     }
  30.             </style>
  31.     </head>
  32. <body>
  33.     <h1 class="harry">Hogwarts CSS School</h1>
  34.     <aside>
  35.         <ul>
  36.             <li>
  37.                 <div class="personale">
  38.                 <span>Trovami!</span>
  39.                 </div>
  40.             </li>
  41.            
  42.         </ul>
  43.     </aside>
  44. </body>
  45. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement