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.

	<meta charset="utf-8">
	<title>Animal Trading Cards</title>

	<div class="container">
		<!-- your favorite animal's name goes here -->
		<h3 class="header text-shadow">Eurasian lynx</h3>
		<!-- your favorite animal's image goes here -->
		<img class="image" src="https://treesforlife.org.uk/docs/079_360__lynx_1404309607_standard.jpg" alt="ilves">
		<!--  -->
		<div class="text-container">
			<!-- your favorite animal's interesting fact goes here -->
			<p class="facts">A lynx cub called Illu was the first animal of the Tallinn Zoo so he’s the icon animal for the zoo as well.</p>

			<ul class="list">
				<!-- your favorite animal's list items go here -->
				<li><span class="list-item">Scientific name</span>: Lynx lynx</li>
				<li><span class="list-item">Weigh</span>: 8 to 30 kg</li>
				<li><span class="list-item">Listed</span>: IUCN Red List</li>
				<li><span class="list-item">Re-introduced</span>: Central and Southeastern Europe</li>
			<!-- your favorite animal's description goes here -->
			<p class="description">The unique-looking lynx has advantages in its appearance: the long winter fur aka winter boots around its legs help it move easier in deep snow. Long ear tufts helps the lynx hear better.</p>

              /* add your CSS here */

* {
  margin: 0px;
  padding: 0px;

.container {
  font-family: Roboto sans-serif;
  font-size: 1em;
  width: 338px;
  border: 4px solid #706f5180;
  border-radius: 8px;
  margin: auto;
  -webkit-box-shadow: 10px 10px 26px 3px rgba(0, 0, 0, 0.36);
  -moz-box-shadow: 10px 10px 26px 3px rgba(0, 0, 0, 0.36);
  box-shadow: 10px 10px 26px 3px rgba(0, 0, 0, 0.767);
  background-color: #da9172fb;
  margin-top: 15px;

.header {
  font-size: 3em;
  margin: 15px;
  text-align: center;

.image {
  border: 4px solid #706f517e;
  margin: 15px 15px 0px 15px;
  border-radius: 8px;
  width: 300px;
   box-shadow: 10px 10px 26px 3px rgba(0, 0, 0, 0.767);

.text-container {
  font-size: 1.2em;
  border: 4px solid #706f5171;
  width: 300px;
  text-align: center;
  background-color: #72716d4f;
  margin: 15px;
  border-radius: 8px;
 box-shadow: 10px 10px 26px 3px rgba(0, 0, 0, 0.767);

.facts {
  font-style: italic;
  padding: 10px;

.list {
  list-style-type: none;
  text-align: left;
  padding: 10px;

.list-item {
  font-weight: bold;
  padding: 10px;

.description {
  padding: 10px;
     background: #0e8ebc0a;
     color: white;
     text-shadow: 0 1px 0 #ccc,
     0 2px 0 #000000,
     0 3px 0 rgb(107, 107, 107),
     0 4px 0 #808080,
     0 5px 0 rgb(122, 122, 122),
     0 6px 1px rgba(0, 0, 0, .1),
     0 0 5px rgba(0, 0, 0, .1),
     0 1px 3px rgba(0, 0, 0, .3),
     0 3px 5px rgba(0, 0, 0, .2),
     0 5px 10px rgb(0, 0, 0),
     0 10px 10px rgb(0, 0, 0),
     0 20px 20px rgb(0, 0, 0);

🕑 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 ..................