cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

            
              <link href="https://fonts.googleapis.com/css?family=Spectral+SC" rel="stylesheet">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>

<div class="flower_list">
<dl>
<dt>
<ul>
<li>
<img src="http://creatornote.nakweb.com/wp-content/themes/giraffe/images/cssfullslide/slide03.jpeg" />
</li>
<li>
<h3>About Flower</h3>
<p>Flowers are very beautiful creatures. People can be cheered, sad, and have different feelings with flowers.</p>

<div class="btn btn01">
<div class="button_base b03_skewed_slide_in">
<div>SEE MORE</div>
<div></div>
<div>SEE MORE</div>
</div>
</div>

</li>
</ul>
</dt>
<dd>
<h4>LOVE FLOWER</h4>
<p>
In Japan there is a culture called flower language, and stories of that kind also appear in the song lyrics.</p>
</dd>
</dl>
</div>
            
          
!
            
              body,html {
  padding: 0;
  margin: 0;
  font-family: 'Spectral SC', serif;
}

.flower_list {
	border-bottom: 1px dotted #ddd;
}

.flower_list h3,
.flower_list h4 {
  font-size: 26px;
}

.flower_list dl dt:hover {
	cursor: pointer;
}

.flower_list dl dd {
	display: none;
	padding: 40px;
	margin-top: 20px;
	border-top: 1px solid #ddd;
}

.flower_list ul {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-wrap: nowrap;
	-moz-flex-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	-o-flex-wrap: nowrap;
	flex-wrap: nowrap;
	flex-wrap: nowrap;
}

.flower_list ul li {
	flex: 5;
  list-style: none;
}

.flower_list ul li:first-child {
	margin-right: 3%;
}

.flower_list ul li img {
 display: block;
  width: 100%;
}
/*ボタンの共通css*/
.btn {
    border: 10px;
    border-color: #ffffff;
    border-style: solid;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    counter-increment: bc;
    padding: 0px 5px 5px 5px;
    
}

.btn:before {
    position: absolute;
    padding: 10px;
}

.button_base {
    margin: 0;
    border: 0;
    font-size: 18px;
    position: relative;
    top: 0%;
    left: 0%;
    margin-top: 0px;
    margin-left: 0px;
    width: 200px;
    height: 50px;
    text-align: center;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-user-select: none;
    cursor: default;
  font-size: 12px;
}

.button_base:hover {
    cursor: pointer;
}


.btn-primary:hover {
  color: #fff;
}

.btn-primary:hover:after {
  left: -10%;
  width: 120%;
}

.b03_skewed_slide_in {
    overflow: hidden;
    border: #000000 solid 1px;
}

.b03_skewed_slide_in div {
    position: absolute;
    text-align: center;
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding: 14px 10px 10px 10px;
}

.b03_skewed_slide_in div:nth-child(1) {
    color: #000000;
    background-color: #ffffff;
}

.b03_skewed_slide_in div:nth-child(2) {
    background-color: #000000;
    width: 230px;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    transform: translate(-250px, 0px) skewX(-30deg);
    -webkit-transform: translate(-250px, 0px) skewX(-30deg);
    -moz-transform: translate(-250px, 0px) skewX(-30deg);
}

.b03_skewed_slide_in div:nth-child(3) {
    color: #ffffff;
    left: -220px;
    transition: left 0.2s ease;
    -webkit-transition: left 0.2s ease;
    -moz-transition: left 0.2s ease;
}

.b03_skewed_slide_in:hover div:nth-child(2) {
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transform: translate(-15px, 0px) skewX(-30deg);
    -webkit-transform: translate(-15px, 0px) skewX(-30deg);
    -moz-transform: translate(-15px, 0px) skewX(-30deg);
}

.b03_skewed_slide_in:hover div:nth-child(3) {
    left: 0px;
    transition: left 0.30000000000000004s ease;
    -webkit-transition: left 0.30000000000000004s ease;
    -moz-transition: left 0.30000000000000004s ease;
}

/*ここまでボタンの共通css*/
            
          
!
            
              $(window).on('load',function () {
 
	$('.flower_list dl dt').on('click', function() {
		$(this).next().slideToggle();
	});
	});
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console