SHARE
TWEET

Untitled

a guest Oct 21st, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head></head>
  4. <style>
  5. .navbar {
  6.     overflow: hidden;
  7.     background-color:lightblue;
  8.     position: sticky;
  9.     position: -webkit-sticky;
  10.     top: 0;
  11.     }
  12. .navbar a.right {
  13.     float: right;
  14.     padding:20px;
  15.     }
  16. .main {
  17.     background-color: #aaa;
  18.     padding: 50px;
  19.     }
  20. </style>
  21.  
  22. <body>
  23.     <div class="navbar">
  24.             <a font-size:40px>Shirley Wang</a>
  25.             <a href=" " class="right">About  </a >
  26.             <a href="#" class="right">Portfolio  </a >
  27.             <a href="#" class="right">Contact  </a >
  28.           </div>
  29. <div class></div>
  30. <div class="main">
  31.         <h2> About Me </h2>
  32.         <hr>
  33.         <img src="IMG_3228.JPG" width="150" height="200">
  34.         <p>This is about me balabalabala</p >
  35.         <p>This is also about me balabalabala</p >
  36.      
  37.       </div>
  38.  
  39. <!-- <p style="text-align:start">This is a pragraph.</p> -->
  40. </body>
  41. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top