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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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="flex-container">
	<div class="flex-row entry-content">
		<div class="flex-col-md-8">
			<p>Synergistically facilitate principle-centered processes without effective functionalities. Proactively revolutionize economically sound processes for market-driven vortals. Uniquely deploy wireless vortals rather than distributed e-tailers. Monotonectally communicate prospective results without accurate infomediaries. Completely impact extensible internal or "organic" sources through business metrics.

Competently brand e-business products vis-a-vis interdependent "outside the box" thinking. Continually provide access to bleeding-edge ideas before progressive e-markets. Compellingly engineer corporate value through tactical manufactured products. Monotonectally orchestrate virtual e-commerce rather than cross functional intellectual capital. Dramatically customize progressive deliverables before cooperative outsourcing.

Energistically utilize functionalized content with premier total linkage. Interactively maximize dynamic manufactured products rather than innovative value. Enthusiastically orchestrate cutting-edge users for resource-leveling solutions. Credibly brand user friendly e-commerce vis-a-vis market-driven value. Rapidiously coordinate high standards in relationships whereas world-class opportunities.

Dramatically recaptiualize corporate "outside the box" thinking whereas low-risk high-yield metrics. Competently grow user-centric expertise whereas frictionless functionalities. Enthusiastically predominate superior metrics before low-risk high-yield methods of empowerment. Collaboratively procrastinate distinctive results for ethical schemas. Objectively coordinate distinctive e-commerce whereas installed base deliverables.

Dynamically implement robust leadership skills without market positioning strategic theme areas. Energistically optimize open-source internal or "organic" sources through market positioning manufactured products. Distinctively impact robust models without vertical convergence. Dramatically disseminate cooperative synergy after focused paradigms. Competently orchestrate resource-leveling collaboration and idea-sharing before fully tested materials.

Holisticly innovate 24/365 infomediaries vis-a-vis resource-leveling scenarios. Conveniently exploit long-term high-impact niche markets via superior ideas. Intrinsicly e-enable turnkey relationships whereas value-added "outside the box" thinking. Distinctively underwhelm interactive infrastructures via professional niches. Continually underwhelm cross-media core competencies whereas resource maximizing outsourcing.</p>
		</div>
	</div>
    
 <!--------------------->
 <!-- FIRST SOLUTION -->
 <!--------------------->
	<div class="flex-row inner_bg">
		<div class="flex-col-md-8">
			<div class="inner_content">
				<h2>First solution</h2>
        <p>Here we are using : </p>
        <p>{width: 100vw;
        position: relative;
        left: calc(-50vw + 50%);}
        </p>
        <p>on the parent div.
      This solution needs media queries to be fully responsive. The inner div width must be defined for each break point.</p>
			</div>
		</div>
	</div>
	<div class="flex-row entry-content">
		<div class="flex-col-md-8">
			<p>Synergistically facilitate principle-centered processes without effective functionalities. Proactively revolutionize economically sound processes for market-driven vortals. Uniquely deploy wireless vortals rather than distributed e-tailers. Monotonectally communicate prospective results without accurate infomediaries. Completely impact extensible internal or "organic" sources through business metrics.

Competently brand e-business products vis-a-vis interdependent "outside the box" thinking. Continually provide access to bleeding-edge ideas before progressive e-markets. Compellingly engineer corporate value through tactical manufactured products. Monotonectally orchestrate virtual e-commerce rather than cross functional intellectual capital. Dramatically customize progressive deliverables before cooperative outsourcing.

Energistically utilize functionalized content with premier total linkage. Interactively maximize dynamic manufactured products rather than innovative value. Enthusiastically orchestrate cutting-edge users for resource-leveling solutions. Credibly brand user friendly e-commerce vis-a-vis market-driven value. Rapidiously coordinate high standards in relationships whereas world-class opportunities.

Dramatically recaptiualize corporate "outside the box" thinking whereas low-risk high-yield metrics. Competently grow user-centric expertise whereas frictionless functionalities. Enthusiastically predominate superior metrics before low-risk high-yield methods of empowerment. Collaboratively procrastinate distinctive results for ethical schemas. Objectively coordinate distinctive e-commerce whereas installed base deliverables.

Dynamically implement robust leadership skills without market positioning strategic theme areas. Energistically optimize open-source internal or "organic" sources through market positioning manufactured products. Distinctively impact robust models without vertical convergence. Dramatically disseminate cooperative synergy after focused paradigms. Competently orchestrate resource-leveling collaboration and idea-sharing before fully tested materials.
</p>
		</div>
	</div>
 <!--------------------->
 <!-- SECOND SOLUTION -->
 <!--------------------->
	<div class="flex-row inner_bg_2">
		<div class="flex-col-md-8">
			<div class="inner_content">
				<h2>Second Solution</h2>
        <p>Here we are using : </p>
				<p>{margin: 0 -100%;
  padding: 0 100%;}</p> 
        <p>on the parent div. We don't need extra css for smaller screen. This solution seems perfect ! </p>
			</div>
		</div>
	</div>
	<div class="flex-row entry-content">
		<div class="flex-col-md-8">
			<p>Synergistically facilitate principle-centered processes without effective functionalities. Proactively revolutionize economically sound processes for market-driven vortals. Uniquely deploy wireless vortals rather than distributed e-tailers. Monotonectally communicate prospective results without accurate infomediaries. Completely impact extensible internal or "organic" sources through business metrics.

Competently brand e-business products vis-a-vis interdependent "outside the box" thinking. Continually provide access to bleeding-edge ideas before progressive e-markets. Compellingly engineer corporate value through tactical manufactured products. Monotonectally orchestrate virtual e-commerce rather than cross functional intellectual capital. Dramatically customize progressive deliverables before cooperative outsourcing.

Energistically utilize functionalized content with premier total linkage. Interactively maximize dynamic manufactured products rather than innovative value. Enthusiastically orchestrate cutting-edge users for resource-leveling solutions. Credibly brand user friendly e-commerce vis-a-vis market-driven value. Rapidiously coordinate high standards in relationships whereas world-class opportunities.</p>
		</div>
	</div>
  
 <!--------------------->
 <!-- THIRD SOLUTION -->
 <!--------------------->
	<div class="flex-row inner_bg_3">
		<div class="flex-col-md-8">
			<div class="inner_content">
				<h2>Third Solution</h2>
				<p>Here we are using</p> 
				<p>{width: 100vw;
          position: relative;
          left: 50%;
          right: 50%;
          margin-left: -50vw;
          margin-right: -50vw;}
        </p>
        <p>on the parent div. Here we also need extra css for smaller screen.</p>
			</div>
		</div>
	</div>
  
  
  <div class="flex-row entry-content">
		<div class="flex-col-md-8">
			<p>Synergistically facilitate principle-centered processes without effective functionalities. Proactively revolutionize economically sound processes for market-driven vortals. Uniquely deploy wireless vortals rather than distributed e-tailers. Monotonectally communicate prospective results without accurate infomediaries. Completely impact extensible internal or "organic" sources through business metrics.

Competently brand e-business products vis-a-vis interdependent "outside the box" thinking. Continually provide access to bleeding-edge ideas before progressive e-markets. Compellingly engineer corporate value through tactical manufactured products. Monotonectally orchestrate virtual e-commerce rather than cross functional intellectual capital. Dramatically customize progressive deliverables before cooperative outsourcing.

Energistically utilize functionalized content with premier total linkage. Interactively maximize dynamic manufactured products rather than innovative value. Enthusiastically orchestrate cutting-edge users for resource-leveling solutions. Credibly brand user friendly e-commerce vis-a-vis market-driven value. Rapidiously coordinate high standards in relationships whereas world-class opportunities.</p>
		</div>
	</div>
 
  <!--------------------->
 <!-- FOURTH SOLUTION -->
 <!--------------------->
	<div class="flex-row inner_bg_4">
		<div class="flex-col-md-8">
			<div class="inner_content">
				<h2>Fourth Solution</h2>
				<p>Here we are using</p> 
				<p>{position:absolute;
            left:0;
            right:0;}
        </p>
        <p>on the parent div. Here we also need extra css for smaller screen.</p>
			</div>
		</div>
	</div>
  
</div>
              
            
!

CSS

              
                body{
   overflow-x:hidden;
  font-size:1.2rem;
}
* {
  box-sizing: border-box;
}
.flex-container {
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0 1em;
 
}
@media (min-width: 540px) {
  .flex-container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .flex-container {
    max-width: 768px;
  }
}
@media (min-width: 992px) {
  .flex-container {
    max-width: 992px;
  }
}
@media (min-width: 1200px) {
  .flex-container {
    max-width: 1200px;
  }
}

.flex-row {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1em;
}

.flex-col-xs-8,
.flex-col-sm-8,
.flex-col-md-8,
.flex-col-lg-8 {
  box-sizing: border-box;
  padding: 1em;
  width: 100%;
}

@media (min-width: 540px) {
  .flex-col-xs-8 {
    max-width: calc(100% * (8 / 12));
    width: calc(100% * (8 / 12));
  }
}

@media (min-width: 768px) {
  .flex-col-sm-8 {
    max-width: calc(100% * (8 / 12));
    width: calc(100% * (8 / 12));
  }
}

@media (min-width: 992px) {
  .flex-col-md-8 {
    max-width: calc(100% * (8 / 12));
    width: calc(100% * (8 / 12));
  }
}

@media (min-width: 1200px) {
  .flex-col-lg-8 {
    max-width: calc(100% * (8 / 12));
    width: calc(100% * (8 / 12));
  }
}
.entry-content{
  justify-content:center
}

.inner_content h2{
  font-size:2em;
  color:white
}
.inner_content p{
  color:white;
}
.inner_content{
  padding:150px 0;
}
/**************************/
/****** FIRST SOLUTION ********/
/**************************/
.inner_bg{
  background-image:url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1353&q=80');
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center center;
 width: 100vw;
  position: relative;
  left: calc(-50vw + 50%);
  justify-content:center;
}
@media (min-width: 480px) {
  .inner_bg .flex-col-md-8{
    max-width:435px
  }
}
@media (min-width: 540px) {
  .inner_bg .flex-col-md-8{
    max-width:476px
  }
}
@media (min-width: 768px) {
  .inner_bg .flex-col-md-8{
    max-width:745px
  }
}
@media (min-width: 992px) {
  .inner_bg .flex-col-md-8{
    max-width:607px
  }
}
@media (min-width: 1200px) {
  .inner_bg .flex-col-md-8{
    max-width:745px
  }
}
/**************************/
/****** SECOND SOLUTION ********/
/**************************/
.inner_bg_2{
  background-image:url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1353&q=80');
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center center;
  margin: 0 -100%;
  padding: 0 100%;
  justify-content:center;
}
.inner_bg_2 h2{
    font-size:2em;
  color:#ffffff;
}
.inner_bg_2 p{
   color:#ffffff;
}
/**************************/
/****** THIRD SOLUTION ********/
/**************************/
.inner_bg_3{
   background-image:url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1353&q=80');
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center center;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  justify-content:center
}

@media (min-width: 480px) {
  .inner_bg_3 .flex-col-md-8{
    max-width:435px
  }
}
@media (min-width: 540px) {
  .inner_bg_3 .flex-col-md-8{
    max-width:476px
  }
}
@media (min-width: 768px) {
  .inner_bg_3 .flex-col-md-8{
    max-width:745px
  }
}
@media (min-width: 992px) {
  .inner_bg_3 .flex-col-md-8{
    max-width:607px
  }
}
@media (min-width: 1200px) {
  .inner_bg_3 .flex-col-md-8{
    max-width:745px
  }
}

/**************************/
/****** FOURTH SOLUTION ********/
/**************************/

.inner_bg_4{
    background-image:url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1353&q=80');
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center center;
  position:absolute;
  left:0;
  right:0;
  justify-content:center
}



@media (min-width: 480px) {
  .inner_bg_4 .flex-col-md-8{
    max-width:435px
  }
}
@media (min-width: 540px) {
  .inner_bg_4 .flex-col-md-8{
    max-width:476px
  }
}
@media (min-width: 768px) {
  .inner_bg_4 .flex-col-md-8{
    max-width:745px
  }
}
@media (min-width: 992px) {
  .inner_bg_4 .flex-col-md-8{
    max-width:607px
  }
}
@media (min-width: 1200px) {
  .inner_bg_4 .flex-col-md-8{
    max-width:745px
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console