Pen Settings



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


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


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.


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.


	<div class="container clearfix">
		<div class="grid_4">
			<img src="" alt="baking company">
		<div class="grid_8 omega">
			<ul id="nav-bar" class="nav">
				<li><a href="#">About</a></li>
				<li><a href="#">Cupcakes and Prices</a></li>
				<li><a href="#">Locations</a></li>
				<li class="last"><a href="#">Contact Us</a></li>
		<div id="intro" class="grid_9">
			<h1>Opposites really do attract, especially in our kitchen we combine all flavours to bring you the best</h1>
			<p><a href="#" class="btn">Browse Our Cupcakes</a></p>
		<div class="grid_3 omega">
			<img src="" alt="You Bake me Blush">
		<div id="featured-cupcake" class="grid_7">
			<h2>Cupcake of the Week</h2>
			<p>This week's featured cupcake is the <a href="#">Avacado Chocolate cupcake</a> its strange combo flavours will kick you into shape</p>
			<img src="" alt="Avacado Chocolate Cupcake">
		<div id="new-cupcakes" class="grid_5 omega">
			<h2>Fresh Out the Oven</h2>
			<p>Our newest cupcakes are <a href="#">Bacon me crazy</a> so so so <a href="#">spicy</a></p>
			<img src="" alt="Bacon Me Crazy">
			<img src="" alt="sooooooo spicy">
		<div id="inside-kitchen" class="grid_7">
			<h2>Inside the Kitchen</h2>
			<p>"They both have similar feedback with the car, and there are aspects of this year's rules that make the cars across the pitlane a far from easy aspect for the driver. There is a lot more torque from the engine, a lot less aerodynamic grip, and the tyres are deliberately less aggressive than last year.</p>
			<p><a href="#" class="btn-small">Read More</a></p>
		<div id="contact" class="grid_5 omega">
			<h2>Get Bakin With Us</h2>
				<p>Call us: <span>0123456799</span><br>
				Email us:<a href="#"></a></p>
			<p>We take booking requests through our Facebook and Twitter</p>
			<a href=""><img src="images/facebook.gif" alt="facebook"></a>
			<a href=""><img src="images/twitter.gif" alt="twitter"></a>
		<div id="copyright" class="grid_12">
			<p>&copy; smells like bakin comapny all rights reserved</p>


                /***Grid css code************************/
 Width: 1000px
 # Columns : 12 
 Column width: 65px
 Gutter : 20px 

.grid_1 { width: 6.5%; } /*65px*/
.grid_2 { width: 15%; } /*150px*/
.grid_3 { width: 23.5%; } /*235px*/
.grid_4 { width: 32%; } /*320px*/
.grid_5 { width: 40.5%; } /*405px*/
.grid_6 { width: 49%; } /*490px*/
.grid_7 { width: 57.5%; } /*575px*/
.grid_8 { width: 66%; } /*660px*/
.grid_9 { width: 74.5%; } /*745px*/
.grid_10 { width: 83%; } /*830px*/
.grid_11 { width: 91.5%; } /*915px*/
.grid_12 { width: 100%; }

.grid_12 {
	margin: 0 2% 1% 0;
	float: left;
	display: block;


	width: 90%;
	max-width: 1000px;
	margin: auto;

.clear{clear:both;display:block;overflow:hidden;visibility:hidden;width:0;height:0}.clearfix:after{clear:both;content:' ';display:block;font-size:0;line-height:0;visibility:hidden;width:0;height:0}* html .clearfix,*:first-child+html .clearfix{zoom:1}

/******style.css code*************************/
body {
	font-family: 'Nunito', sans-serif;
	color: #FAF3BC;
	background: #420600 url('img/bg-texture.jpg') repeat;

a {
	color: #4FB68F;
	text-decoration: none;

img {

/*********** FONT SIZE SECTION*************/

#nav-bar {
	font-size: 1.0625em;  /*17px*/

h1 {
	font-size: 1.750em;
	letter-spacing: 0.03375em; /*-1.5px*/

h2 {
	font-size: 1.500em;
	color: #b4c34f;

.btn {
	font-size: 1.1875em; /*19px*/

#featured-cupcake p  {
	font-size: 1em; /*16px*/

#new-cupcakes p  {
	font-size: 1em; /*16px*/

#inside-kitchen p {
	font-size: 1em; /*16px*/	

#contact p  {
	font-size: 1em; /*16px*/

#copyright p  {
	font-size: 1em;


/************MARGINS ON WEBSITE********************************/

.btn {
	color: #FAF3BC;
	background: #4FB69F url('img/texture.png') no-repeat right top;
	padding: 15px 30px;
	margin: 40px 0px;
	border-radius: 25px;
	text-transform: uppercase;

	background-color: #4cc4a7;

ul.nav {
	margin: 120px 0 0 0;
	float: right;

ul.nav li {
	float: left;
	margin-right: 40px;	

ul.nav li a {

#intro {
	margin: 5% 0 7.5% 0; /*50px 0 75px 0*/

#new-cupcakes img {
	border: 8px solid #faf3bc;
	margin: 0 0 2% 0; /* 0 0 20px 0;*/

#featured-cupcake img {
	border: 8px solid #faf3bc;

#copyright {
	border-top: 8px solid #2a0400;
	padding: 1% 0; /*10px 0px;*/
	margin:  1.5% 0; /*15px 0px;*/
	text-align: center;