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.

Quick-add: + add another resource

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.

Quick-add: + add another resource

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.

            
              <!DOCTYPE html>
<html >
<head>
	<meta charset="utf-8">
	<meta name="description" content="Giant Panda by Yingjie Hu">
	<meta name="author" content="Yingjie Hu">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="keywords" content="animal, panda, giant panda">
	<title>Giant Panda</title>

	<link rel="stylesheet" href="styles.css">
</head>
<body>
	<div class="card" >
		<!-- your favorite animal's name goes here -->
		<h3 class="heading">Giant Panda</h3>
		<!-- your favorite animal's image goes here -->
		<img class="img-style" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRdCKEUbDAMMcac5-f65_DJRQQTn4jvtgk48BVg6AHbcU5IRJZdVw" alt="panda">
		<div class="info">
			<!-- your favorite animal's interesting fact goes here -->
			<p class="fun"><i>These guys are BIG eaters – every day they fill their tummies for up to 12 hours, shifting up to 12 kilograms of bamboo!</i></p>
			<ul>
				<!-- your favorite animal's list items go here -->
				<li class="list"><span class="list-item">Scientific Name</span>: Ailuropoda melanoleuca</li>
				<li class="list"><span class="list-item">Height</span>: 2 – 3 ft. (Adult, At Shoulder)</li>
				<li class="list"><span class="list-item">Mass</span>: Female: 150 – 220 lbs (Adult)</li>
				<li class="list"><span class="list-item">Lifespan</span>:  20 years (In the wild)</li>
			</ul>
			<!-- your favorite animal's description goes here -->
			<p>The giant panda is a bear native to south central China. It is easily recognized by the large, distinctive black patches around its eyes, over the ears, and across its round body. The name "giant panda" is sometimes used to distinguish it from the unrelated red panda. </p>
			<p>Though it belongs to the order Carnivora, the giant panda's diet is over 99% bamboo. Giant pandas in the wild will occasionally eat other grasses, wild tubers, or even meat in the form of birds, rodents, or carrion. In captivity, they may receive honey, eggs, fish, yams, shrub leaves, oranges, or bananas along with specially prepared food.</p>
		</div>
	</div>
</body>
</html>

            
          
!
            
              /* add your CSS here */
body{
  text-align: center;
  font-family: Times, Arial, sans-serif;
}

.img-style {
  width: 300px;
}

.card{
  border: 1px solid silver;
  padding: 10px;
  margin: 20px;
  width: 400px;
  margin: auto;
  box-shadow: 10px 10px 5px 0px silver;
  border-radius: 20px;
}

.heading {
  text-align: center;
  margin-bottom: 30px;
  font-size: 40px;
}

.info {
  border: 1px solid silver;
  padding: 5px 10px 10px 10px ;
  text-align: left;
  margin-top: 20px;
  border-radius: 5px;
}

.list-item{
  font-weight: bold;
}

.list {
  list-style-type: none;
  margin-left: -40px;
}

.fun {
  margin: 20px 40px;
}

            
          
!
999px
Loading ..................

Console