daily pastebin goal
63%
SHARE
TWEET

Untitled

a guest May 16th, 2018 102 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="site">
  2.                 <p style="padding: 10px;"><a href="myWebsite.html" id="Home">My Website</a></p>
  3.                 <p id="siteText">This is my primary website where all the information you might require on me is available! This site is also a demonstration of my work; however, external reviews are available on the website!</p>
  4.             </div>
  5.  
  6. #siteText {
  7.     background-color: rgba(255,255,255,0.8);
  8.     text-align: center;
  9.     width: 475px;
  10.     padding: 15px;
  11.     position: absolute;
  12.     left: 50%;
  13.     opacity: 0;
  14.     transform: translate(-50%, -50%);
  15. }
  16.  
  17. #Home a:hover + #siteText {
  18.     opacity: 1;
  19. }
RAW Paste Data
Top