123

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <div class="font">Test<span class="dot">.</span>1</div>

<body>
  <div class="box">
   
	  <div class="buttonBox"><ul>
      <a class="button" href="#popup1"> a b c d </a> </ul></div>
	  <div class="buttonBox"><ul><a class="button" href="#popup2">e f g h?</a></ul> </div>
    <div class="buttonBox"><ul><a class="button" href="#popup3">h i j k?</a></ul></div>
    <div class="buttonBox"><ul><a class="button" href="#popup4">l m n o</a></ul></div>
    <div class="buttonBox"><ul><a class="button" href="#popup5">p q r s</a></ul></div>
    
  </div>
  <div class ="overlay" id ="popup1">
	  <div class="popup">
		  <h2>I am ...</h2>
		  <a class="close" href="#">&times;</a>
		<div class="content">
		Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. 

<br><br>It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. 
<br><br>
      <b>Where does it come from?</b>
<ul><li>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old.</li>
<li>Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source.</li>

<br> <b>Why do we use it?</b>
<ul><li>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. </li>
<li>
  The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English.
</li>

    
		</div> 
    </div>     
</div>
      
	<div class ="overlay" id ="popup2">
	  <div class="popup">
		  <h2>Where can I get some?</h2>
		  <a class="close" href="#">&times;</a>
		<div class="content">
			There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable.
	  </div>
    </div>
  </div>
      
<div class ="overlay" id ="popup3">
	  <div class="popup">
		  <h2>Things to ponder</h2>
		  <a class="close" href="#">&times;</a>
		<div class="content">
			<ul><span class="ultitle">Line 1:</span><br>
			  <li> If you are going to use a passage of Lorem Ipsum</li>
        <li>you need to be sure there isn't anything embarrassing hidden in the middle of text.</li>
			</ul>
      
	  </div>
    </div>
  </div>
  
  <div class ="overlay" id ="popup4">
	  <div class="popup">
		  <h2>Lorum Ipsum</h2>
		  <a class="close" href="#">&times;</a>
		<div class="content">
			All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc. <br><br>


	  </div>
    </div>
  </div>
  
  <div class ="overlay" id ="popup5">
	  <div class="popup">
		  <h2>Lorem Ipsum:</h2>
		  <a class="close" href="#">&times;</a>
		<div class="content">
			<li>Lorem Ipsum</li>
      <li>Lorem Ipsum</li>
      <li>Lorem Ipsum</li>
      <li>Lorem Ipsum</li>
	  </div>
    </div>
  </div>
 
  
</body>
            
          
!
            
              $background:#E0E0E0;
$secondary: 	#0051ff;//#66cd00;//#1f18ff;#ff9000;#307be1;salmon;
body{
  background: $background;
}

.box{
  position: relative;
  text-align: center;
  //border: solid 2px blue;
  width:100em;
  height:100em;
  border: solid orange 2px;
  
}

.font{
  width:relative;
  height:relative;
  background: $background;
  text-align: center;
  font-size: 170px;
  font-family: "Oxygen",sans-serif;
  text-rendering: optimizeLegibility;
  text-shadow:
    -18px 15px 40px #bdbdbd,
    -15px 12px 30px #9f9f9f,
    -8px 10px 20px #696969,
    1px -2px 30px white;
  color: $background; 
  position:relative;  
  animation-name:myframes;
  animation-duration:8s;
  animation-timing-function:ease-in-out;//cubic-bezier(1, 1, 0.86, 1.00);//
  animation-delay:5s;
  animation-iteration-count:1; /* or 3 for eg*/
  animation-direction:normal; /*pr reverse, or alternate*/
  animation-fill-mode:forwards; 
 
}
  
.dot {
  color: $secondary;
  text-shadow: 
    -10px 13px 25px $secondary,
    -18px 15px 30px #bdbdbd,
    -15px 12px 30px #9f9f9f,
    -8px 10px 20px #696969,
    1px -2px 30px white;
 animation-name:myframes2;
  animation-duration:8s;
  animation-timing-function:ease-in-out;//cubic-bezier(1, 1, 0.86, 1.00);//
  animation-delay:5s;
  animation-iteration-count:1; /* or 3 for eg*/
  animation-direction:normal; /*pr reverse, or alternate*/
  animation-fill-mode:forwards; 
  
}


@keyframes myframes{

100% {
  transform: 
    translate(-400px, 250px) rotate(-90deg);
  text-shadow: 
         -18px -15px 30px #bdbdbd,
         -15px -12px 30px #9f9f9f,
         -8px -10px 20px #696969,
          -1px -2px 30px white;
 }
}
  
  
  @keyframes myframes2{

100% {
  transform: 
    translate(-400px, 250px) rotate(-90deg);
  text-shadow: 
         -10px -13px 25px $secondary,
         -18px -15px 30px #bdbdbd,
         -15px -12px 30px #9f9f9f,
         -8px -10px 20px #696969,
          -1px -2px 30px white;

 }
    
}

.button{
  width:340px;
  //height:10px;   
 padding: 0.15em 2em 0.15em 2em; 
 font-size: 2em;
 font-family: sans-serif;
 text-decoration:none;
 //color: #cbbeb5;
 //background-color: transparent;
  //border: 2px solid black ;
  color:$background;
  
  animation-name:mybutton;
  animation-duration:20s;
  animation-delay: 0s;
  animation-timing-function:ease-in-out;
  animation-fill-mode:forwards;
  text-shadow:
    -8px 5px 10px #bdbdbd,
    -5px 2px 8px #9f9f9f,
    -2px 1px 4px #696969,
    1px -2px 30px white; 
 }

.button:hover{
  width:relative; 
  height:relative;
  background: transparent;
  text-align: center;
  //font-size: 170px;
  color: $secondary;
  //color:transparent;
  font-family: "Oxygen",sans-serif;
  text-rendering: optimizeLegibility;
  animation-name:mybutton2;
  animation-duration:8s;
  animation-delay: 10s;
  animation-timing-function:ease-in-out;
  animation-fill-mode:forwards;
 
  //color: $background;  
}


@keyframes mybutton{
  from{
    opacity:0;
  }
  to {
    opacity:1;
  }
}

.buttonBox{
  position:relative;
  margin-left: auto;
  margin-right:auto;
  width: 40em;
  height: 4em;
  border: solid 2px green;
}

.popup{
  margin: 70px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 30%;
  position: relative;
  transition: all 5s ease-in-out;
  font-family: sans-serif;
  border: solid 2px $secondary;
  color:#1F1209;
  
}
.overlay{  
  visibility: hidden;
  opacity:0; 
  transition: opacity 600ms;
}  
.overlay:target{
  visibility: visible;
  opacity:1;
}

.li {
  margin-left: 15px;
}

.ul {
  list-style-position:left;
}

.ultitle{
  color: $secondary;
}

.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

.popup .close:hover {
  color: $secondary;
}




            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console