cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

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.

            
              <div class="container">  
  <div class="card">
    <!-- your favorite animal's name goes here -->
    <h3>The White Wolf</h3>
    <!-- your favorite animal's image goes here -->
    <img src="http://www.artnerd.net/udacity/animalcard/img/animal.png" alt="The White Wolf">
    <div class="description">
      <!-- your favorite animal's interesting fact goes here -->
      <h4>In most Native American cultures, wolves are considered a medicine being associated with courage, strength, loyalty, and success at hunting.</h4>
      <hr noshade>
	  <!-- your favorite animal's description goes here -->
      <p>Often called the "polar wolf" or "white wolf," Arctic wolves inhabit the Arctic regions of North America and Greenland. Thanks to its isolation, the Arctic wolf is not threatened by hunting and habitat destruction in the same way as its southern relatives.</p>
       
        <!-- your favorite animal's list items go here -->
        <ul>
        <li><span>Family</span>: Canidae</li>
        <li><span>Height</span>: 3 to 6 feet </li>
        <li><span>Weight</span>: 75 to 125 pounds</li>
        <li><span>Temperament</span>: Some people believe that the Arctic Wolf is a loner by nature but that isn’t true. Those that are seen alone may be away from their pack to search for food. </li>
      </ul>
    </div>
  </div>
</div>
            
          
!
            
              html, body {
	width: 100%;
	background: #A1FFCE;  /* fallback for old browsers */
	background: -webkit-linear-gradient(to right, #0000f0, #0000ff);  /* Chrome 10-25, Safari 5.1-6 */
	background: linear-gradient(to right, #00000f, #0f0f0f); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.container {
	display: flex;
	align-content: center;
	justify-content: center;
}

h4 {
	font-size: 20px;
	font-family: 'Bellefair', sans-serif;
	text-align: center;
	color: white;
	font-style: italic;
	font-weight: 400;
}


h3 {
	font-weight: strong;
	font-size: 46px;
	font-family: 'Bellefair', sans-serif;
	text-align: center;
	color: white;
}

.intro {
	font-style: italic;
}

p {
	font-size: 16px;
	font-family: 'Lato', sans;
	color: white;
}

label {
	font-weight: strong;
}

hr {
	width: 20%;
	background-color: white;
	height: 0px;
	border-color: white;
	margin: 5% auto 5% auto;
}

img {
	display: block;
	margin: 5% auto 5% auto;
	width: 80%;
}

.card {
	border-style: solid;
	border-radius: 5px;
	border-color: #eeeeee;
	border-width: 3px;
	padding: 20px;
	width: 600px;
	box-shadow: 5px 5px 5px #1f0a52;
	background: url(http://www.artnerd.net/udacity/animalcard/img/background.png);
	background-size: cover;
	background-position: center;
}

.description {
	border-style: solid;
	border-width: 1px;
	border-color: white;
	border-radius: 0px 0px 10px 10px;
	padding: 10px;
	border-style:dotted;
	font-family: 'Lato', serif;
	font-size: 12px;	
}

ul {
	font-size: 16px;
	list-style-type: none;
	color: white;
	font-family: 'Lato', sans;
	margin: 0;
	padding: 0;
}

span {
	font-weight: bold;
}
            
          
!
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