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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

              
                <div class="wrapper">
	<div class="container">
		<div class="group">
			<div class="chunk">
				<div class="top">
					<p class="text-center pt-3 small">Issue #20 Volume 3</p>
					<h1 class="text-center pt-3">Web Developer Updates</h1>
					<p class="text-center pt-4">
						2022 Trends of the Year with Complete Year in Review
					</p>
					<div class="hg">
						<div><span>YEAR IN REVIEW</span></div>
					</div>
				</div>
				<div id="mid" class="tb">
					<div class="col">
						<div>
							<h2 class="pt-5 pb-5">TECH</h2>
							<p>The Top 10 Best Frameworks</p>
						</div>
					</div>
					<div class="col">
						<div>
							<h2 class="pt-5 pb-5">AT WORK</h2>
							<p>Make FIGMA your #1 tool</p>
						</div>
					</div>
				</div>
			</div>

			<div id="imgsection">
				<div>
					<h2>2022 top Tech Conferences You Don't Want to Miss</h2>
				</div>
			</div>
			<div id="end" class="tb">
				<div class="col">
					<div>
						<h2 class="pt-5 pb-4">VIDEO</h2>
						<p>Modular Designs Cut Costs and Development Time</p>
					</div>
				</div>
				<div class="col">
					<div>
						<h2 class="pt-5 pb-4">ON TREND</h2>
						<p>Flutter to Design Beautiful Apps</p>
					</div>
				</div>
			</div>
			<div id="boom">
				<div><a href="https://www.rachelhcreative.com" title="VIEW MY PROJECTS">Rachel H. Portfolio</a></div>
			</div>
		</div>
	</div>
</div>
              
            
!

CSS

              
                body {
	font-family: "Open Sans", sans-serif;
	background-color: #f3f3f3;
	
}
.container {
	width: 750px;
}
h1 {
	font-size: 28px;
	letter-spacing: 2px;
	text-transform: uppercase;
}
h2 {
	font-size: 18px;
	letter-spacing: 2px;
	color: #000;
	opacity: 0.5;
}
#imgsection h2 {
	font-size: 45px;
	color: white;
	letter-spacing: 2px;
	text-shadow: 2px 2px #000;
	width: 80%;
	line-height: 45px;
	padding: 30px;
	opacity: 1;
}
h1,
h2 {
	text-transform: uppercase;
	font-family: "Roboto Slab", serif;
}
#boom {
	min-height: 50px;
	background-color: #777;
	margin-bottom: 200px;
}
#boom > div {
	padding: 20px;
}
#boom > div > a:link,
#boom > div > a:visited,
#boom > div > a:active {
	color: white;
	font-weight: bold;
	text-decoration: none;
	border-bottom: 2px dotted white;
	padding-bottom: 2px;
	transition: color 450ms ease-in-out, border-bottom 450ms ease-in-out;
}
#boom > div > a:hover {
	color: black;
	border-bottom: 2px dotted black;
}

.col p {
	font-family: "Roboto Slab", serif;
	font-size: 25px;
	letter-spacing:2px;
	margin: 0px 20px;
	line-height: 40px;
}
.top {
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
	background-color: #ccc;
	min-height: 300px;
}
#mid,
#imgsection,
#end {
	height: 300px;
}
.news {
	margin: 0px auto;
	text-align: center;
}
.chunk {
	position: relative;
}
.hg {
	position: absolute;
	height: 100px;
	width: 100px;
	background-color: #333;
	border-radius: 50%;
	color: white;
	font-weight: bold;
	line-height: 25px;
	left: 296px;
	top: 250px;
	z-index: 50;
}
.hg > div {
	positon: relative;
}
.hg > div > span {
	position: absolute;
	top: 23px;
	left: 21px;
}
.top p {
	font-size: 20px;
	width: 60%;
	line-height: 30px;
	margin: 0px auto;
}
p.small {
	font-size: 12px;
	color: #777;
	font-style: italic;
}
#mid {
	margin: 0px auto;
}
#mid > div:first-child {
	background-color: #f65e70;
}
#mid > div:nth-child(2) {
	background-color: #ffffff;
}
.col > div {
	text-align: center;
}
.tb {
	display: flex;
	flex-direction: row;
}
#boom {
	position: relative;
}
#imgsection {
	position: relative;
}
#imgsection > div:first-child {
	position: absolute;
}
#imgsection:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("https://images.unsplash.com/photo-1503428593586-e225b39bddfe?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ");
	background-size: cover;
	background-repeat: no-repeat;
	filter: grayscale(100%);
}
#end .col:nth-child(1) {
	background-color: white;
}
#end .col:nth-child(2) {
	background-color: #32c7b4;
}

@media (min-width: 980px) {
	.hg {
		left: 310px;
	}
}
@media (max-width: 768px) {
	.container {
		width: 350px;
	}
	.tb {
		flex-direction: column;
	}
	.hg {
		left: 110px;
	}
	.col {
		min-height: 300px;
	}
	#imgsection h2 {
		font-size: 30px;
		width: 90%;
	}
	#mid.tb h2 {
		margin-top: 25px;
	}
	#mid p,
	#end p {
		font-size: 28px;
	}
	#boom {
		min-height: 100px;
		bottom: -300px;
	}
}

              
            
!

JS

              
                
              
            
!
999px

Console