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

              
                <section data-role="section" id="section-section2">
	<div class="container">
	<header>
		<div class="title" data-sr>
			<h1>Le sens <br/>du web</h1>
		</div>
		<div class="description" data-sr>
			<p>Basé  à Grenoble nous intervenons sur tous vos projets web ou moblie depuis 2011</p>
		</div>
	</header>
	<div class="content">
	<div class="sub-title-right" data-sr>Createurs d'experiences</div>
	<div class="right">
		
		<div class="text" data-sr>
		Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ut ex ut nisi egestas maximus ut ac ante. Aenean placerat ligula ac erat dictum eleifend. Aenean aliquet, velit at lobortis ornare, neque mauris ultricies purus, eget hendrerit lectus mauris sed leo. Cras quis placerat leo. Cras eu leo lectus. Pellentesque nisi lorem, consequat a dapibus a, rutrum vulputate augue. Vestibulum ultrices mauris a sem pharetra cursus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer ut massa sed purus faucibus pharetra. Nullam eu posuere ex, vel sodales mi. Integer pulvinar, mauris id lacinia egestas, tellus arcu sollicitudin est, ac vehicula nunc arcu non nunc. Donec sed mattis est, volutpat iaculis diam.
		</div>
		</div>
	</div>
	<div class="clear"></div>
		<div class="content">
			<div class="sub-title-left" data-sr>Une agence digitale independante</div>
			<div class="left">

		
				<div class="text" data-sr>
				Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ut ex ut nisi egestas maximus ut ac ante. Aenean placerat ligula ac erat dictum eleifend. Aenean aliquet, velit at lobortis ornare, neque mauris ultricies purus, eget hendrerit lectus mauris sed leo. Cras quis placerat leo. Cras eu leo lectus. Pellentesque nisi lorem, consequat a dapibus a, rutrum vulputate augue. Vestibulum ultrices mauris a sem pharetra cursus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer ut massa sed purus faucibus pharetra. Nullam eu posuere ex, vel sodales mi. Integer pulvinar, mauris id lacinia egestas, tellus arcu sollicitudin est, ac vehicula nunc arcu non nunc. Donec sed mattis est, volutpat iaculis
				</div>
			</div>
		</div>
	</div>

	</div>
</section>

              
            
!

CSS

              
                .title{  margin: auto;width: 700px;}
.container{overflow:hidden;max-width:980px;margin:0 auto;}
.text{ font-size: 14px;letter-spacing: 2px;text-transform: uppercase;text-align: left;
  padding: 50px;width: 350px;-webkit-transform: skew(-22deg)!important;
  -moz-transform: skew(-22deg)!important;-ms-transform: skew(-22deg)!important;
  -o-transform: skew(22deg)!important; transform: skew(22deg)!important; display: table-cell;vertical-align: middle;}

h1{font-size:100px;text-transform:uppercase;font-weight:bold;width:100%;margin:0;padding:0;  text-align: left;display:table-cell;vertical-align:middle;}


.right{left:5em;border-left:80px solid #A6D785;-webkit-transform: skew(-22deg);-moz-transform: skew(-22deg);ms-transform: skew(-22deg);-o-transform: skew(-22deg);transform: skew(-22deg) ;width:800px;float:right;}

.left{right: 2em;border-right:80px solid #A6D785;-webkit-transform: skew(-22deg);-moz-transform: skew(-22deg) ;-ms-transform: skew(-22deg);-o-transform: skew(-22deg);transform: skew(-22deg) ;width:800px;float:left;}

.left,.right{position: relative;display;table-row;width:700px;margin:auto;text-align:center;min-height:250px;}

.right .text{  padding-left: 175px; }

.left .text {padding-left: 93px;}

.description{  color: #fff;font-size: 16px;text-transform: uppercase;font-weight: bold;
  position: absolute;right: 10em;bottom: 1em;width: 196px; text-align: right;}

.sub-title-right{color: #000;text-align: left;position: absolute;left: 2.1em;z-index: 999;top: 2em;width: 300px;text-transform: uppercase;font-weight: bold; font-size: 35px;}

.sub-title-left{  color: #000;text-align: right;position: absolute;right: 5.1em;z-index: 999;width: 300px;top: 12em;text-transform: uppercase;font-weight: bold;font-size: 30px;}

.clear{clear:both;}

.content{position:relative;display:block;width:100%;}

              
            
!

JS

              
                
              
            
!
999px

Console