css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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.

            
              <!DOCTYPE html>
<meta charset="utf-8">
<html lang="eng">
<head>
	<title>The Raven Queens</title>
</head>
<body>
	<div class="animal-card">
		<!-- your favorite animal's name goes here -->
		<h1 class="name-align">Conspiracy of Ravens</h1>
		<!-- your favorite animal's image goes here -->
    <div class="main-image">
		<img src="https://scontent-dfw5-1.cdninstagram.com/vp/dbec891358f6e6b6ab0c69004e35ee9f/5B3F0989/t51.2885-15/e35/14733642_186635515124394_7383234122547724288_n.jpg" alt="Kim Chi, Bob the Drag Queen, and Naomi Smalls - The Raven Queens">
  </div>
    <div>
			<!-- your favorite animal's interesting fact goes here -->
      <h3 class="name-align">The Raven Queens</h3>
        
			<p class="main-fact">The Raven Queens were the top 3 contenders of Rupaul's Drag Race Season 8.</p>
			<ul>
				<!-- your favorite animal's list items go here -->
        <li><span>Scientific Name</span>: <i>Slayus Drag queenus</i></li>
				<li><span>Average Height in Heels</span>: 7ft.</li>
				<li><span>Favorite Food</span>: Booze</li>
				<li><span>Habitat</span>: Any Stage</li>
			</ul>
			<!-- your favorite animal's description goes here -->
      <div class="animal-info">
			<p>Bob the Drag Queen (center) won season 8 of Rupaul's Drag Race. She is from New York City. Her signature entry every episode was, "Purse first! Purse first! Walk into the room purse first! Clack!"</p>
      <p>Kim Chi (left) is from Chicago, Illinois. She was a runner-up on Season 8 of Rupaul's Drag Race. Kim Chi's nickname is Shade Chi. Her first words upon entering the work room were, "I came to chop suey the competition!"</p>
      <p>Naomi Smalls (right) is from Redlands, California. She was a runner-up on Season 8 of Rupaul's Drag Race. Her first words upon entering the work room were, "Check your lipstick before you come for me." </p>
      </div>
		</div>
	</div>
</body>
</html>
            
          
!
            
              * {
    box-sizing: border-box;
}

.animal-card {
  background: #dfcd87;
  border-style: solid;
  border-width: thin;
  width: 410px;
  padding: 20px;
  margin: 20px;
  text-align: justify;
  box-shadow: 10px 10px 5px grey;
}

.name-align {
  text-align: center;
  border: 2px solid black;
  padding: 5px;
}

.main-image {
  width: 335px;
  height: 100%;
  margin: 0 auto;
  padding: 17.5px;
  background-image: repeating-linear-gradient(to right top,
  #c4e17f 0px, #c4e17f 50px,
  #f7fdca 50px, #f7fdca 100px,
  #fad071 100px, #fad071 150px,
  #f0766b 150px, #f0766b 200px,
  #db9dbe 200px, #db9dbe 250px,
  #c49cdf 250px, #c49cdf 300px,
  #6599e2 300px, #6599e2 350px,
  #61c2e4 350px, #61c2e4 400px);
}

.main-image img {
  width: 300px;
  height: 100%;
}

.main-fact {
  font-style: italic;
  border: 2px solid black;
  padding: 8px 20px 8px 15px;
}

ul {
    list-style: none;
    padding-left: 15px;
}

span {
    font-weight: bold;
}

.animal-info {
  width: 370px;
  margin-top: 5px;
  margin-bottom: 5px;
  border: 2px solid black;
  padding: 5px 15px;
}
            
          
!
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.
Loading ..................

Console