This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
font-face { | |
font-family: 'icomoon'; | |
src: url('fonts/icomoon.eot?9s40wt'); | |
src: url('fonts/icomoon.eot?9s40wt#iefix') format('embedded-opentype'), | |
url('fonts/icomoon.ttf?9s40wt') format('truetype'), | |
url('fonts/icomoon.woff?9s40wt') format('woff'), | |
url('fonts/icomoon.svg?9s40wt#icomoon') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
counter-reset: number 0; /* number のカウンタを 0 にセット */ | |
} | |
h1:before { | |
counter-increment: number 1; /* number カウンタの増加数をセット */ | |
content: counter(number) " "; /* 表示形式を指定 */ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for(仮変数 in 連想配列){ | |
ループ内で実行する命令 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
&:first-child{ | |
.l-section:nth-child(odd) &{ | |
float: left; | |
margin-top: 60px; | |
background-color: darkcyan; | |
/** * mobile */ | |
@include mobile { | |
margin-top: 0; | |
float: none; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--slide--> | |
<div id="slide"> | |
<ul> | |
<?php if(have_rows('mv_slide_repeat')): ?> | |
<?php $is_first = true;?> | |
<?php while(have_rows('mv_slide_repeat')): the_row(); ?> | |
<li> | |
<div class="hidden-xs slide_img<?php if($is_first) echo " active"; ?>" style="background-image: url(<?php the_sub_field('img_mv_pc'); ?>);background-size: cover;"></div> | |
<div class="visible-xs slide_img<?php if($is_first) echo " active"; ?>" style="background-image: url(<?php the_sub_field('img_mv_sp'); ?>);background-size: cover;"></div> | |
</li> |