Pen Settings

HTML

CSS

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

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <header>
	<div class="Logo">
		<svg viewBox="0 0 640 512" width="25" title="shoe-logo" id="logo">
			<path d="M192 160h32V32h-32c-35.35 0-64 28.65-64 64s28.65 64 64 64zM0 416c0 35.35 28.65 64 64 64h32V352H64c-35.35 0-64 28.65-64 64zm337.46-128c-34.91 0-76.16 13.12-104.73 32-24.79 16.38-44.52 32-104.73 32v128l57.53 15.97c26.21 7.28 53.01 13.12 80.31 15.05 32.69 2.31 65.6.67 97.58-6.2C472.9 481.3 512 429.22 512 384c0-64-84.18-96-174.54-96zM491.42 7.19C459.44.32 426.53-1.33 393.84.99c-27.3 1.93-54.1 7.77-80.31 15.04L256 32v128c60.2 0 79.94 15.62 104.73 32 28.57 18.88 69.82 32 104.73 32C555.82 224 640 192 640 128c0-45.22-39.1-97.3-148.58-120.81z" />
		</svg>
		<a id="brand">LikeNuShus</a>
	</div>
	<div class="container">
		<div class="Titel">
			<h1 id="brand-name">LikeNuShus</h1>
			<p class="tagline">Lightly Used Shoes, Cheap!</p>
		</div>
		<lottie-player src="https://assets9.lottiefiles.com/packages/lf20_oncjxjbd.json" background="transparent" speed="1" loop autoplay></lottie-player>
	</div>

</header>
<div class="body">
	<h2>Clearance Items</h2>
	<p class="category-description">Gently used floor model sneakers and discontinued styles at our lowest prices of the year. Get 'em before they're gone!</p>
	<div class="item_row">
		<div class="item">
			<figure>
				<h3>Asics</h3>
				<img src="https://assets.codepen.io/t-1/maksim-larin-jZyacqaR4iI-unsplash.jpg" alt="a pair of blue and red ASICS sneakers">
				<!-- full size image at: https://images.unsplash.com/photo-1560072810-1cffb09faf0f -->
				<figcaption>Photo by Maksim Larin</figcaption>

			</figure>

			<p class="description">
				Suede fabric pointed toe stylish cut front low heel sharp on-trend toe point raised heel drop sides unique silhouette. Bow detail metallic eyelets leather lining luxurious finish classic courts formal slingback square toe contrasting cap. Lace up fastening bow detailing high stiletto heel leather lining beautiful lace upper elegant peep toe t-bar strap. Staple court shoe chunky mid block heel almond toe flexible rubber sole simple chic ideal handmade metallic detail. Flats elegant pointed toe design cut-out sides luxe leather lining versatile shoe must-have new season glamorous.</p>
			<p class="price">$65 USD</p>
			<p class="special">Free Shipping!</p>
			<fieldset>
				<label for="size-select">Size:</label>
				<select name="size" id="size-select">
					<option value=""></option>
					<option value="6">6</option>
					<option value="6.5">6.5</option>
					<option value="7" disabled>7</option>
					<option value="7">7.5</option>
					<option value="8">8</option>
					<option value="9">9</option>
					<option value="9.5" disabled>9.5</option>
					<option value="10">10</option>
				</select>
				<label for="color-select">Color:</label>
				<select name="color" id="color-select">
					<option value=""></option>
					<option value="blue">blue</option>
					<option value="red">red</option>
					<option value="black">black</option>
				</select>
				<label for="quantity-select">Quantity:</label>
				<select name="quantity" id="quantity-select">
					<option value=""></option>
					<option value="1">1</option>
					<option value="2">2</option>
					<option value="3">3</option>
					<option value="4">4</option>
					<option value="5">5</option>
				</select>
				<button type="button">Add to Cart</button>
			</fieldset>
		</div>

		<div class="item">
			<figure>
				<h3>Adidas</h3>
				<img src="https://assets.codepen.io/t-1/daniel-storek-JM-qKEd1GMI-unsplash.jpg" alt="a pair of white Adidas sneakers with red and blue trim">
				<!-- full size image at: https://images.unsplash.com/flagged/photo-1556637640-2c80d3201be8 -->
				<figcaption>Photo by Daniel Storek</figcaption>
			</figure>
			<p class="description">
				Effortless comfortable full leather lining eye-catching unique detail to the toe low 'cut-away' sides clean and sleek. Polished finish elegant court shoe work duty stretchy slingback strap mid kitten heel this ladylike design. Suede fabric pointed toe stylish cut front low heel sharp on-trend toe point raised heel drop sides unique silhouette. Effortless comfortable full leather lining eye-catching unique detail to the toe low 'cut-away' sides clean and sleek.</p>

			<p class="price">$30 USD</p>
			<fieldset>
				<label for="size-select">Size:</label>
				<select name="size" id="size-select">
					<option value=""></option>
					<option value="6">6</option>
					<option value="6.5" disabled>6.5</option>
					<option value="7">7</option>
					<option value="7">7.5</option>
					<option value="8">8</option>
					<option value="9">9</option>
					<option value="9.5" disabled>9.5</option>
					<option value="10" disabled>10</option>
				</select>

				<label for="color-select">Color:</label>
				<select name="color" id="color-select">
					<option value=""></option>
					<option value="olive">olive & black</option>
					<option value="blue">blue & black</option>
					<option value="pink">pink & black</option>
				</select>

				<label for="quantity-select">Quantity:</label>
				<select name="quantity" id="quantity-select">
					<option value=""></option>
					<option value="1">1</option>
					<option value="2">2</option>
					<option value="3">3</option>
					<option value="4">4</option>
					<option value="5">5</option>
				</select>

				<button type="button">Add to Cart</button>
			</fieldset>
		</div>

		<div class="item">

			<figure>
				<h3>New Balance</h3>
				<img src="https://assets.codepen.io/t-1/felipepelaquim-6zO5VKogoZE-unsplash.jpg" alt="a New Balance sneaker in olive drab with a black logo">
				<!-- full size image at: https://images.unsplash.com/photo-1539185441755-769473a23570 -->
				<figcaption>Photo by felipepelaquim</figcaption>
			</figure>
			<p class="description">
				Suede fabric pointed toe stylish cut front low heel sharp on-trend toe point raised heel drop sides unique silhouette. Bow detail metallic eyelets leather lining luxurious finish classic courts formal slingback square toe contrasting cap. Lace up fastening bow detailing high stiletto heel leather lining beautiful lace upper elegant peep toe t-bar strap. Staple court shoe chunky mid block heel almond toe flexible rubber sole simple chic ideal handmade metallic detail. Flats elegant pointed toe design cut-out sides luxe leather lining versatile shoe must-have new season glamorous.</p>
			<p class="price">$45 USD</p>
			<p class="special">Just One Left!</p>
			<fieldset>
				<label for="size-select">Size</label>
				<select name="size" id="size-select">
					<option value=""></option>
					<option value="6">6</option>
					<option value="6.5" disabled>6.5</option>
					<option value="7" disabled>7</option>
					<option value="7" disabled>7.5</option>
					<option value="8" disabled>8</option>
					<option value="9" disabled>9</option>
					<option value="9.5" disabled>9.5</option>
					<option value="10" disabled>10</option>
				</select>
				<label for="color-select">Color:</label>
				<select name="color" id="color-select">
					<option value=""></option>
					<option value="red-blue">white with red and blue trim</option>
					<option value="black" disabled>white with black trim</option>
				</select>
				<label for="quantity-select">Quantity:</label>
				<select name="quantity" id="quantity-select">
					<option value=""></option>
					<option value="1">1</option>
					<option value="2" disabled>2</option>
					<option value="3" disabled>3</option>
					<option value="4" disabled>4</option>
					<option value="5" disabled>5</option>
				</select>
				<button type="button">Add to Cart</button>
			</fieldset>
		</div>
	</div>
	<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
</div>
</div>
<p class="credits">@Lottie Animation by Seyfi Cem Baskin <a href="https://lottiefiles.com/49964-running-on-treadmill">https://lottiefiles.com/49964-running-on-treadmilln</a></p>
              
            
!

CSS

              
                @import url("https://fonts.googleapis.com/css2?family=Dancing+Script&family=Hind+Siliguri:wght@500&display=swap");
* {
	font-family: "Hind Siliguri", sans-serif;
}

.body {
	background: #f1f1f1;
	max-width: 1400px;
	margin: 0 auto;
	border-radius: 35% 65%;
}
h2 {
	margin: 1rem;
}
.category-description {
	margin: 1rem;
}

.Logo {
	margin: 0.5rem 1rem;
	width: 50px;
	height: 50px;
	background: #4d4f53;
	fill: white;
	border-radius: 50%;
	position: relative;
}

.Logo svg {
	widht: 50px;
	height: 50px;
	display: block;
	margin: 0 auto;
}
#brand {
	position: absolute;
	top: 40%;
	right: -5rem;
	font-family: "Dancing Script", cursive;
}
.container {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	padding: 1rem;
	align-items: center;
}
lottie-player {
	flex: 70%;
	width: 100%;
	height: auto;
}

.Titel {
	flex: 30;
	padding: 0 1rem;
	border-radius: 75% 45%;
	background-color: #f1f1f1;
}
.item_row {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
}

.item {
	flex: 33%;
	margin: 1rem;
	box-shadow: 20px 20px 20px #bebebe, -20px -20px 30px #ffffff;
	border-radius: 25px;
	position: relative;
	background: white;
}
.item_header {
	width: 100%;
	background: red;
}
.item figure {
	margin: 0 auto;
	position: relative;
	padding: 0;
}
.item h3 {
	position: absolute;
	top: 0px;
	left: 0px;
	padding: 0.5rem;
	background: white;
	border-radius: 0 5px 5px 0;
	min-width: 20%;
}
.item img {
	width: 100%;
	border-radius: 25px 25px 0 0;
}

.item figcaption {
	position: absolute;
	bottom: 0px;
	right: 0px;
	font-size: 8pt;
	color: grey;
	background: white;
	padding: 0.2rem;
	border-radius: 5px 0 0 0;
}
.description {
	padding: 1rem;
	line-height: 1.5;
	height: 150px;
	overflow-y: scroll;
}

.description::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
	border-radius: 7px;
	background-color: #fff;
}

.description::-webkit-scrollbar {
	width: 10px;
	background-color: #fff;
}

.description::-webkit-scrollbar-thumb {
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
	background-color: #4d4f53;
}
.price {
	display: flex;
	justify-content: center;
	padding: 1rem;
	font-size: 1.3rem;
	background-color: #141e8c;
	font-wight: 700;
	color: white;
}
fieldset {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: space-between;
	border: none;
	margin: 0 1rem;
}

button {
	margin: 2rem 1rem;
	border: none;
	border-radius: 5px;
	padding: 1rem;
	cursor: pointer;
}
button:hover {
	background: #4d4f53;
	color: white;
}
.special {
	position: absolute;
	bottom: -0.7rem;
	left: 0;
	right: 0;
	background: none;
	text-align: center;
	color: red;
}
select {
	border-radius: 5px;
	border: 1px solid #e3e3e3;
}

.credits {
	margin: 3rem 1rem;
	font-size: 8pt;
	color: grey;
}
@media (max-width: 800px) {
	.item_row,
	.container {
		flex-direction: column;
		flex-warp: wrap;
	}
	.item {
		flex: 100%;
		max-width: 400px;
		margin: 0 auto;
		margin-top: 1rem;
	}
}

              
            
!

JS

              
                
              
            
!
999px

Console