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 id="r_wrapper" class="red-b">

  <div id="r_slider">
    <div id="rslider_photo1" class="rslider_pic"><a href="https://yahoo.co.jp"><img src="http://coinbaby8.com/wp-content/uploads/r_travel_template/img/950x500_1.jpg"></a></div>
    <div id="rslider_photo2" class="rslider_pic"><a href="https://google.com"><img src="http://coinbaby8.com/wp-content/uploads/r_travel_template/img/950x500_2.jpg"></a></div>
    <div id="rslider_photo3" class="rslider_pic"><a href="https://yahoo.co.jp"><img src="http://coinbaby8.com/wp-content/uploads/r_travel_template/img/950x500_1.jpg"></a></div>
    <div id="rslider_photo4" class="rslider_pic"><a href="https://google.com"><img src="http://coinbaby8.com/wp-content/uploads/r_travel_template/img/950x500_2.jpg"></a></div>
    <div id="rslider_photo5" class="rslider_pic"><a href="https://yahoo.co.jp"><img src="http://coinbaby8.com/wp-content/uploads/r_travel_template/img/950x500_1.jpg"></a></div>
    <div id="rslider_photo6" class="rslider_pic"><a href="https://google.com"><img src="http://coinbaby8.com/wp-content/uploads/r_travel_template/img/950x500_2.jpg"></a></div>
    <!-- <div class="red-b" style="padding:22%;"></div> -->
    <div class="rslider_adjust"></div>
  </div><!-- r_slider -->


 <div clas
</section><!-- ここまで -->


</body>

              
            
!

CSS

              
                
/* 全体 */
#r_wrapper{
  max-width: 950px;
  margin:0 auto;
}

/*
##01.スライダー
##02.メニュー
 */


/*
##01. スライダー
    画像6枚で調整
    枚数を減らす場合は
    .rslider_pic img のanimationの秒数を減らし、
    画像の枚数を減らす
    表示スピード変更は delay値を調整
 */

#r_slider{
  position: relative;
  max-width: 950px;
  margin:0 auto;
  overflow: hidden;
}

.rslider_pic img {
	position:absolute;
	width: 100%;
	top:0;
	left:100%;
	-moz-animation: imgTrans 30s infinite;
	-webkit-animation: imgTrans 30s infinite;
	animation: imgTrans 30s infinite;
}

#rslider_photo1 img{
  -moz-animation-delay: 0s;
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
}

#rslider_photo2 img{
  -moz-animation-delay: 5s;
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
}

#rslider_photo3 img{
  -moz-animation-delay: 10s;
  -webkit-animation-delay: 10s;
  animation-delay: 10s;
}

#rslider_photo4 img{
  -moz-animation-delay: 15s;
  -webkit-animation-delay: 15s;
  animation-delay: 15s;
}

#rslider_photo5 img{
  -moz-animation-delay: 20s;
  -webkit-animation-delay: 20s;
  animation-delay: 20s;
}

#rslider_photo6 img{
  -moz-animation-delay: 25s;
  -webkit-animation-delay: 25s;
  animation-delay: 25s;
}

.rslider_adjust{
	padding:26%;
}

@-webkit-keyframes imgTrans {
	0% { left:0%; opacity:0;}
  5% { left:0%;opacity:1; }
  20% { left:0%; opacity:1;}
  25% { left:0%;opacity:0; }
  26% { left:100%;opacity:0; }
  100% { left:100%; opacity:0;}
}
@-moz-keyframes imgTrans {q
	0% { left:0%; opacity:0;}
  5% { left:0%;opacity:1; }
  20% { left:0%; opacity:1;}
  25% { left:0%;opacity:0; }
  26% { left:100%;opacity:0; }
  100% { left:100%; opacity:0;}
}
@keyframes imgTrans {
	0% { left:0%; opacity:0;}
  5% { left:0%;opacity:1; }
  20% { left:0%; opacity:1;}
  25% { left:0%;opacity:0; }
  26% { left:100%;opacity:0; }
  100% { left:100%; opacity:0;}
}

/* ##01. スライダーここまで */



/* 全体 調整用 */
.clearfix{
  content: '';
  display: table;
  clear: both;
}

.red-b{
  border:1px solid red;
}

.blue-b{
  border:1px solid blue;
}

/*----------------*/
/* width          */
/*----------------*/

.w10{
	width:10%;
}
.w20{
	width:20%;
}
.w22{
	width:22%;
}
.w25{
	width:25%;
}
.w30{
	width:30%;
}
.w35{
	width:35%;
}
.w40{
	width:40%;
}
.w45{
	width:45%;
}
.w47{
	width:47%;
}
.w50{
	width:50%;
}
.w55{
	width:55%;
}
.w60{
	width:60%;
}
.w65{
	width:65%;
}
.w70{
	width:70%;
}
.w80{
	width:80%;
}
.w90{
	width:90%;
}
.w100{
	width:100%;
}
/*----------------*/
/* margin         */
/*----------------*/
/** top **/
.mgt3{
	margin-top:3px !important;
}
.mgt5{
	margin-top:5px !important;
}
.mgt8{
	margin-top:8px !important;
}
.mgt10{
	margin-top:10px !important;
}
.mgt13{
	margin-top:13px !important;
}
.mgt15{
	margin-top:15px !important;
}
.mgt20{
	margin-top:20px !important;
}
.mgt30{
	margin-top:30px !important;
}
.mgt40{
	margin-top:40px !important;
}
.mgt45{
	margin-top:45px !important;
}
.mgt50{
	margin-top:50px !important;
}
.mgt60{
	margin-top:60px !important;
}
.mgt70{
	margin-top:70px !important;
}
.mgt80{
	margin-top:80px !important;
}
/** right **/
.mgr0{
	margin-right:0;
}
.mgr3{
	margin-right:3px;
}
.mgr5{
	margin-right:5px;
}
.mgr6{
	margin-right:6px;
}
.mgr8{
	margin-right:8px;
}
.mgr10{
	margin-right:10px;
}
.mgr12{
	margin-right:12px;
}
.mgr13{
	margin-right:13px;
}
.mgr15{
	margin-right:15px;
}
.mgr20{
	margin-right:20px;
}
.mgr25{
	margin-right:25px;
}
.mgr30{
	margin-right:30px;
}
.mgr40{
	margin-right:40px;
}
.mgr120{
	margin-right:120px;
}
/** left **/
.mgl0{
	margin-left:0;
}
.mgl5{
	margin-left:5px;
}
.mgl10{
	margin-left:10px;
}
.mgl12{
	margin-left:12px;
}
.mgl15{
	margin-left:15px;
}
.mgl20{
	margin-left:20px;
}
.mgl25{
	margin-left:25px;
}
.mgl30{
	margin-left:30px;
}
.mgl35{
	margin-left:35px;
}
.mgl40{
	margin-left:40px;
}
.mgl50{
	margin-left:50px;
}
.mgl55{
	margin-left:55px;
}
.mgl60{
	margin-left:60px;
}

/** bottom **/
.mgb3{
	margin-bottom:3px !important;
}
.mgb5{
	margin-bottom:5px !important;
}
.mgb7{
	margin-bottom:7px !important;
}
.mgb10{
	margin-bottom:10px !important;
}
.mgb15{
	margin-bottom:15px !important;
}
.mgb18{
	margin-bottom:18px !important;
}
.mgb20{
	margin-bottom:20px !important;
}
.mgb25{
	margin-bottom:25px !important;
}
.mgb30{
	margin-bottom:30px !important;
}
.mgb35{
	margin-bottom:30px !important;
}
.mgb40{
	margin-bottom:40px !important;
}
.mgb45{
	margin-bottom:45px !important;
}
.mgb50{
	margin-bottom:50px !important;
}
.mgb55{
	margin-bottom:55px !important;
}
.mgb60{
	margin-bottom:60px !important;
}
.mgb70{
	margin-bottom:70px !important;
}
.mgb80{
	margin-bottom:80px !important;
}
.mgb90{
	margin-bottom:90px !important;
}
.mgb100{
	margin-bottom:100px !important;
}
.mgb150{
	margin-bottom:150px !important;
}

.pdb5{
	padding-bottom:5px;
}
.pdb10{
	padding-bottom:10px;
}
.pdb15{
	padding-bottom:15px;
}
.pdb20{
	padding-bottom:20px;
}
.pdl30{
	padding-left:30px;
}
/** all **/
.mrg0{
	margin:0;
}
.mrg0a{
	margin:0 auto;
}
.mrg5{
	margin:5px;
}
.mrg8{
	margin:8px;
}
.mrg10{
	margin:10px;
}
.mrg15{
	margin:15px;
}
.mrg15_10{
	margin:15px 10px;
}
.mrg10_10{
	margin:10px 10px 0;
}

/*----------------*/
/* margin(percent)*/
/*----------------*/
.mgr3p{
	margin-right:3%;
}
.mgr4p{
	margin-right:4%;
}
.mgr5p{
	margin-right:5%;
}
.mgr6p{
	margin-right:6%;
}
.mgr7p{
	margin-right:7%;
}
/*----------------*/
/* layout         */
/*----------------*/
.fleft{
	float:left !important;
}
.fright{
	float:right !important;
}
.textleft{
	text-align:left !important;
}
.textright{
	text-align:right !important;
}
.textjustify{
	text-align:justify !important;
}
.textcenter{
	text-align:center !important;
}
.vtop{
	vertical-align:top !important;
}
.vmiddle{
	vertical-align:middle !important;
}
.vbottom{
	vertical-align:bottom !important;
}
/*----------------*/
/* text           */
/*----------------*/
.fs200{
	font-size:200% !important;
}
.fs190{
	font-size:190% !important;
}
.fs180{
	font-size:180% !important;
}
.fs170{
	font-size:170% !important;
}
.fs160{
	font-size:160% !important;
}
.fs150{
	font-size:150% !important;
}
.fs140{
	font-size:140% !important;
}
.fs130{
	font-size:130% !important;
}
.fs120{
	font-size:120% !important;
}
.fs110{
	font-size:110% !important;
}
.fs90{
	font-size:90% !important;
}
.fs80{
	font-size:80% !important;
}
.fs70{
	font-size:70% !important;
}
.lh140{
	line-height:140% !important;
}
.lh150{
	line-height:150% !important;
}
.lh200{
	line-height:200% !important;
}
.lh220{
	line-height:220% !important;
}
.lh240{
	line-height:240% !important;
}
.em{
	font-weight:bold;
}

              
            
!

JS

              
                
              
            
!
999px

Console