Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ 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

Auto Save

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

              
                <!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<title>Minnie by KN</title>
	<link rel="preconnect" href="https://fonts.googleapis.com">
	<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
	<link href="https://fonts.googleapis.com/css2?family=Pacifico&display=swap" rel="stylesheet">
	<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
	<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
	<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css" integrity="sha384-xeJqLiuOvjUBq3iGOjvSQSIlwrpqjSHXpduPd6rQpuiM3f5/ijby8pCsnbu5S81n" crossorigin="anonymous">
	<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🐾</text></svg>">

	<style>
		* {
			margin: 0px;
			padding: 0px;
			box-sizing: border-box;
		}

		html {
			min-height: 100%;
		}

		body {
			width: 100%;
			background: linear-gradient(to top, #cd9cf2 0%, #f6f3ff 100%);
			font-family: "Outfit", sans-serif;
			-webkit-font-smoothing: antialiased;
			-moz-osx-font-smoothing: grayscale;
		}

		h1 {
			text-transform: uppercase;
			font-size: 10vw;
			text-align: center;
			line-height: 1;
			font-weight: 900;
			letter-spacing: 1rem;
			color: #7C64D5;
		}

		h2 {
			text-transform: uppercase;
		}

		h3 {
			font-size: 3vw;
			font-style: black;
			letter-spacing: 4px;
		}

		.text-pop {
			text-shadow: 2px 2px 0px black, 4px 4px 0px rgba(0, 0, 0, 0.15);
		}

		.text-gradient {
			background: linear-gradient(-225deg, #FF057C 0%, #7C64D5 48%, #4CC3FF 100%);
			-webkit-text-stroke: 1px black;
			-webkit-background-clip: text;
			-webkit-text-fill-color: transparent;
		}

		a {
			color: #7C64D5;
		}

		a:hover {
			text-decoration: none;
			color: #FF057C;
		}

		span {
			display: inline-block;
		}

		.fancy {
			font-family: "Pacifico", cursive;
			text-align: center;
		}

		.fancy span {
			display: inline-block;
			position: relative;
		}

		.fancy span::before,
		.fancy span::after {
			content: "";
			position: absolute;
			height: 10px;
			border-bottom-style: double;
			border-color: black;
			border-width: 10px;
			top: 45%;
			width: 1000%;
		}

		.fancy span::before {
			right: 100%;
			margin-right: 15px;
		}

		.fancy span::after {
			left: 100%;
			margin-left: 15px;
		}

		.double-border {
			border-top-style: double;
			border-bottom-style: double;
			border-color: black;
			border-width: 10px;
		}

		.dark-background {
			background-color: #7C64D5;
			color: white;
		}

		.a
	</style>

</head>

<body>

	<!-- Title Area -->
	<div id="pageTop" class="jumbotron text-center">
		<div class="row">
			<div class="col">
				<p class="fancy fs-2 mt-2 mb-0"><span>Meet</span></p>
			</div>
		</div>
		<div class="row p-1">
			<div class="col">
				<h1 class="text-pop">MINNIE CAT!</h1>
			</div>
		</div>
		<div class="row double-border pt-1 pb-0 fancy text-gradient">
			<div class="col">
				<h3>Tortie Diva.</h3>
			</div>
			<div class="col">
				<h3>Sassy & Spunky.</h3>
			</div>
			<div class="col">
				<h3>City Kitty.</h3>
			</div>
		</div>
	</div>

	<div class="container">
		<div class="row pt-2">

			<div class="col">
				<h2>All About Minnie</h2>
				<p>🐾 Minnie (Min, Min-Min, Minini, Minaynay) is a precious <strong>one-year-old</strong> cat. She lives in New York City with her two humans, Katerina and James.</p>
				<p>Everyone falls in love with her big green eyes and gorgeous tortoiseshell-patterned coat, but her <strong>personality</strong> shines the most!</p>
				<p>Picture the most playful, talkative, and endearingly clumsy little cat. Best of all, Minnie is <strong>super</strong> cuddly 🖤</p>
			</div>

			<div class="col text-center p-2">
				<img class="img-fluid" src="https://assets.codepen.io/8273734/minnie-1.png" alt="minnie cat">
			</div>

			<div class="col">
				<h2>Favorite Things</h2>
				<ul>
					<li>Snuggling (on her own terms, of course)</li>
					<li>Meeting new friends</li>
					<li>Chasing her humans around the apartment</li>
					<li>Sharing stories (meowing)</li>
				</ul>
			</div>
		</div>
	</div>

	<br>

	<div class="container-fluid dark-background">
		<div class="row">
			<div class="col text-center p-2">
				<h2>Petting Preferences</h2>
				<p>So you want to meet Minnie (of course you do!) but first, you need to know...</p>
				<p>She LOVES to be pet, but has some very specific preferences.</p>
				<p class="muted">Click around the image below to test out different petting zones!</p>
			</div>
		</div>
		<div class="row">
			<div class="col text-center p-2">

			</div>
		</div>
	</div>

	<div class="container-fluid">
		<div class="row">
			<div class="col text-center p-2">
				<h2>Favorite Spots</h2>
				<p>We all know cats are <strong>creatures of habit</strong> and are quite particular about their <strong>hangout spots.</strong></p>
				<p class="muted">Scroll to see Minnie's top places to lounge, play, and loaf!</p>
			</div>
		</div>

	</div>

	<div class="container-fluid dark-background">
		<div class="row">
			<div class="col text-center p-2">
				<h2>Fan Mail</h2>
				<button class="btn btn-light">Leave a message for Minnie!</button>
			</div>
		</div>
	</div>

	<footer class="container-fluid text-center mt-3 mb-5">
		<a href="#pageTop" title="To Top">
			<i class="bi bi-arrow-up-circle-fill fs-2 p-2"></i>
		</a>
		<br>
		<p class="fs-5"><strong>Coded by 👩‍💻
				<a href="https://coderina.io" target="_blank">Katerina Navab</a> with
				HTML, CSS and JavaScript</strong></p>
		<p class="fs-6"><em>"Pet Landing Page" submission for the
				<a href="https://shecodes.io" target="_blank">SheCodes</a> December 2022 Coding Challenge</em></p>
	</footer>

	<script>

	</script>

	<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.min.js" integrity="sha384-IDwe1+LCz02ROU9k972gdyvl+AESN10+x7tBKgc9I5HFtuNz0wWnPclzo6p9vxnk" crossorigin="anonymous"></script>
	<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3" crossorigin="anonymous"></script>

</body>

</html>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console