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.

            
              <div class="page">
			<div class="top">
				<div class="container-min">
					<div class="top-menu">
						<a href="https://instagram.com/">Instagram</a>
						<a href="https://twitter.com/">Twitter</a>
						<a href="https://pinterest.com/">Pinterest</a>
						<a href="https://facebook.com/">Facebook</a>
						<a href="https://youtube.com/">Youtube</a>
					</div>
				</div>
			</div>
			<header class="header">
				<h1>Paris &amp; Recreations</h1>
				<h3>The lifestyle blog</h3>
				<div class="nav-container container-max">
					<nav class="nav">
						<a href="#">Blog</a>
						<a href="#">Archive</a>
						<a href="#">Shop</a>
						<a href="#">Gallery</a>
						<a href="#">About</a>
						<a href="#">Contact</a>
						<a href="#">Buy Now</a>
					</nav>
				</div>
			</header>
			<main>
				<div class="hero-container container-max">
					<div class="hero">
						<h2>A party in New York</h2>
						<p>Some text</p>
					</div>
				</div>
				<!--
				<div class="blog-container container-max">
					<div class="blog">
						<div class="post"></div>
						<div class="post"></div>
						<div class="post"></div>
					</div>
				</div>
				-->
				<div class="newsletter-container">
					<div class="container-min">
						<div class="newsletter">
							<span>Subscribe</span>
							<input type="text" placeholder="Name">
							<input type="email" placeholder="Email">
							<input type="submit" value="Subscribe">
						</div>
					</div>
				</div>
				<div class="about-us">
					<div class="container-max">
						<h2>We're passionate about simplicity</h2>
						<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laborum nihil placeat maiores. Et voluptates quo eveniet, a corporis earum laboriosam culpa sit sequi, quae dolores, optio, id eaque eos magnam. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Numquam, nam, consequuntur! Possimus odit sint hic nam quia porro officiis corrupti aliquam, nostrum eos delectus, ad officia eveniet at adipisci cupiditate!</p>
						<a href="#">Read More</a>
					</div>
				</div>
			</main>
			<footer class="footer">
				<div class="container-max">
					<p class="copyright">Copyright Paris and Recreations &copy; 2018</p>
				</div>
			</footer>
		</div>
            
          
!
            
              p {
	line-height: 1.6;
}
.container-max {
	width: 90%;
	display: block;
	margin: 0 auto;
}

.container-min {
	width: 60%;
	display: block;
	margin: 0 auto;
}

.top {
	padding: 1em 0;
	background-color: #F1F1EF;
}

.top-menu, .nav, .newsletter {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-content: space-between;
}

.top-menu a {
	font-weight: bold;
	text-transform: uppercase;
	color: #000;
	text-decoration: none;
	font-size: 0.85em;
	letter-spacing: 0.1em;
}

.top-menu a:hover {
	text-decoration: underline;
}

.header {
}

.header h1 {
	text-align: center;
	font-size: 2em;
	margin: 0;
	padding-top: 2em;
}
.header h3 {
	text-align: center;
	font-size: 0.95em;
	padding-bottom: 2em;
}

.nav-container{
	border-top: 6px double black;
	border-bottom: 3px solid black;
	padding: 1em 0;
}

.nav a {
	font-weight: bold;
	text-transform: uppercase;
	color: #000;
	text-decoration: none;
	font-size: 0.85em;
	letter-spacing: 0.1em;
}

.nav a {
	text-decoration: underline;
}

.hero-container {
	/*Photo by Sweet Ice Cream Photography on Unsplash*/
	background: url('https://raw.githubusercontent.com/jailandrade/100days100websites/fe1f7b26bf74aa157d7df2239b830e7202ad1f40/paris/img/sweet-ice-cream-photography-88754.jpg');
	background-size: cover;
	padding: 14em 0;
}

.hero {
	background-color: white;
	padding: 2em;
	width: 360px;
	text-align: center;
	display: block;
	margin: 0 auto;
}

.post {
	width: 33%;
	display: inline-block;
}

.newsletter-container {
	width: 90%;
	margin: 1.5em auto;
	padding: 3em 0;
	border-top: 2px solid black;
	border-bottom: 2px solid black;
}

.newsletter span {
	font-size: 1.2em;
	padding-top: 0.5em;
	font-weight: bold;
}
.newsletter input {
	width: 150px;
	font-size: 1.1em;
	padding: 0.5em;
	border: 1px solid black;
	color: black;
	font-weight: light;
}
.newsletter input[type="submit"] {
	background: white;
	font-weight: bold;
}
.about-us {
	padding: 2em 0;
}
.about-us h2 {
	text-align: center;
}
.about-us a {
	display: block;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: black;
	text-decoration: none;
	font-size: 0.9em;
	font-weight: bold;
}
.footer {
	background-color: #F1F1EF;
	padding: 3em 0;
}
.copyright {
	font-size: 0.9em;
	font-weight: bold;
	letter-spacing: 0.1em;
	text-align: center;
}

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

Console