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.

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

            
              <div class="section">
	<h1>Thinking outside the div</h1>
</div>

<div class="section">
	<div class="section__content">
		<h2>I love the web.</h2>
		<p>It connects us with people and information. It breaks down borders and there is so much we can do with it.</p>
	</div>
</div>

<div class="section">
	<div class="section__content">
		<h2>I have a passion...</h2>
		<p>for css and front end web development.</p>
	</div>
</div>

<div class="section">
	<div class="section__content">
		<h2>It's exciting</h2>
		<p>I can take what is an empty box and with one selector make it into something new and beautiful.</p>
	</div>
</div>

<div class="section">
	<div class="section__content">
		<h2>To me, this is art, this is creativity. </h2>

	</div>
</div>

<div class="section">
	<div class="section__content">
		<h2>I’m saddened</h2>
		<p>That so many people view code as some kind of logical, dry thing that is just for <em>‘nerds’</em>.</p>
	</div>
</div>

<div class="section">
	<div class="section__content">
		<h2>Being a nerd is wonderful</h2>
		<p>A nerd is someone who is passionate, they pour their heart and soul into learning, creating and thinking!</p>
	</div>
</div>

<div class="section">
	<div class="section__content">
		<h2>Being a nerd does not make you a robot, it’s actually the opposite.
		</h2>
	</div>
</div>

<div class="section">
	<div class="section__content">
		<h2>Code has logic, but you 
still have to think creatively
		</h2>
		<p>You make something with numbers, letters and symbols and decide how it will come together to create something new!</p>
	</div>
</div>

<div class="section">
	<div class="section__content">
		<h2>There is a misconception
		</h2>
		<p>People think that code is restrictive. That it prevents and limits creativity.</p>
	</div>
</div>

<div class="section">
	<div class="section__content">
		<h2>This is completely wrong.</h2>
	</div>
</div>

<div class="section">
	<div class="section__content">
		<h2>Our limits are the same		</h2>
		<p>Basically time and money and with enough time and money we can figure out a way to do whatever we want.</p>
	</div>
</div>

<div class="section">
	<div class="section__content">
		<h2>But we limit ourselves.
		</h2>
		<p>Sameness isn’t because of the nature of the web, it’s just the nature of people.</p>
	</div>
</div>

<div class="section">
	<div class="section__content">
		<h2>We replicate, copy & re-use
		</h2>
		<p>We stick with what is familiar because it’s safe.</p>
	</div>
</div>

<div class="section">
	<div class="section__content">
		<h2>We stick with common patterns and ideas</h2>
		<p>because they have been proven successful!</p>
	</div>
</div>

<div class="section">
	<div class="section__content">
		<h2>But then we are just memorising and following the ideas of others.
</h2>
	</div>
</div>

<div class="section">
	<div class="section__content">
		<h2>When you improvise you have heightened brain activity</h2>
		<p>So if you are memorising what already exists are you restricting yourself creatively from the get go?</p>
	</div>
</div>

<div class="section">
	<div class="section__content">
		<h2>Don’t think of the web as a collection of rectangles.</h2>
		<p>Think outside the div, the square rectangular block.</p>
	</div>
</div>

<div class="section">
	<div class="section__content">
		<h2>We are only constrained by the box we
put ourselves in.</h2>
	</div>
</div>


<div class="section">
	<div class="section__content">
		<h2>♥ from mandy</h2>
	</div>
</div>
            
          
!
            
              $color_list: #073763, #0b5394, #3d85c6, #6fa8dc, #9fc5e8, #c8bede, #b3a6d5, #8675b8, #674ea7, #351c75, #741b47, #a64d79, #c27ba0, #d5a6bd, #d8aca4, #dd7e6b, #cc4125, #a61c00, #85200c, #571407;

body {
	color: #fff;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
	background-image: linear-gradient(180deg, $color_list);
}

.section {
	min-height: 500px;
	margin: 0;
	padding: 0 1.5em;
	box-sizing: border-box;
	overflow: auto;
	display: flex;
    justify-content: flex-start;
    align-content: center;
    align-items: center;
	
	@media screen and (min-width: 600px) {
		padding: 3em;
		height: 100vh;

	}
}

.section__content {
	max-width: 700px;
}

h1, h2 {
	font-size: 3em;
	margin: 0;
	letter-spacing: -0.03em;
	line-height: 1.1em;
	
	& + p {
		margin-top: 0.7em;
	}
	
	@media screen and (min-width: 500px) {
		font-size: 4em;
	}
}

p {
	font-size: 1.25em;
	margin: 0;
	letter-spacing: -0.02em;
	line-height: 1.23em;
	opacity: 0.8;
	
	@media screen and (min-width: 500px) {
		font-size: 1.7em;
	}
}
            
          
!
999px
🕑 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 ..................

Console