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

              
                <body>

  <div style="stepbar-area">
    <!--ステップフロー-->
	<div class="stepbar stepbar-p">
		<div class="stepbarwrap">
			<div class="flex-content">
				<div class="flex-content-title">左のタイトル</div><!--左-->
				<div class="flex-content-title">右のタイトル</div><!--右-->
              	<div>左のテキスト左のテキスト左のテキスト左のテキスト左のテキスト左のテキスト左のテキスト左のテキス</div><!--左-->
				<div>右のテキスト右のテキスト右のテキスト右のテキスト右のテキスト右のテキスト右のテキスト右のテキスト右のテキスト</div><!--右-->
			</div>
		</div>
	</div>
    <p class="step-line"><span></span><!--縦ライン--></p>
	<div class="stepbar stepbar-o">
		<div class="stepbarwrap">
			<div class="flex-content" >
                <div>左のテキスト左のテキスト左のテキスト左のテキスト左のテキスト左のテキスト左のテキスト左のテキス</div><!--左-->
				<div>右のテキスト右のテキスト右のテキスト右のテキスト右のテキスト右のテキスト右のテキスト右のテキスト右のテキスト</div><!--右-->
			</div>
		</div>
	</div>
    <p class="step-line"><span></span><!--縦ライン--></p>
	<div class="stepbar stepbar-p">
		<div class="stepbarwrap">
			<div class="flex-content" >
                <div>左のテキスト左のテキスト左のテキスト左のテキスト左のテキスト左のテキスト左のテキスト左のテキス</div><!--左-->
				<div>右のテキスト右のテキスト右のテキスト右のテキスト右のテキスト右のテキスト右のテキスト右のテキスト右のテキスト</div><!--右-->
			</div>
		</div>
	</div><!--//stepbar-->
    <!--//ステップフロー-->
  </div>
  
</body>
              
            
!

CSS

              
                .stepbar {
  width: 80%;
  margin: 0 auto;
  text-align: center;
  padding:1% ;
  border: 2px solid #000000;
  color:#184491;
}
.stepbar.stepbar-p {
  color:#000000;
  }
  .stepbar.stepbar-o {
  color:#000000;
  }
p.step-line{
  text-align: center;
}
.step-line span{
  border-left:2px solid #000000; /*線の設定*/
  padding:10px; /*余白の設定*/
}
@media screen and (max-width: 960px) {
  .stepbar {
    width: 90%;
  }
}
  /*flex 2列*/
.flex-content{
  display: flex;
  flex-wrap: wrap;
  width:100%;
}
.flex-content div{
  width: 46%;
  padding:1%;
  margin:0;
}
.flex-content div:nth-of-type(odd){
  background-color:#EBEBEB;
  margin-right:1%;
}
.flex-content div:nth-of-type(even){
  background-color:#FFF9B3;
  margin-left:1%;
}
.flex-content div.flex-content-title{
  background-color:#000000;
  color:#FFFFFF;
  font-weight:bold;
}
              
            
!

JS

              
                
              
            
!
999px

Console