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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

            
              <section id="section">
					<div class="flex-container">
						<div class="flex-row title">
							<div class="flex-col-xs-12 text-center">
								<h2 class="font-42">Why choose us</h2>
								<p class="blue font-22">we helping you make the most of yours</p>
							</div>
						</div>
						<div class="why_choose_us">
<input type="radio" id="Panel_1" name="wiki" value="Panel_1" checked>
<input type="radio" id="Panel_2" name="wiki" value="Panel_2">
<input type="radio" id="Panel_3" name="wiki" value="Panel_3">
<input type="radio" id="Panel_4" name="wiki" value="Panel_4">

<ul class="accordion flex-row">
<div class="flex-col-md-6">
  <li class="panel" data-radio="Panel_1">
    <label for="Panel_1" class="accordion-title">
      
      <span class="accordion-heading">What is the difference in SEO between a guest house site and a site for a gîte?</span>
    </label>
    <div class="accordion-content">Panel_1s are multicellular eukaryotic organisms that form the biological kingdom Panel_1ia. With few exceptions, Panel_1s consume organic material, breathe oxygen, are able to move, can reproduce sexually, and grow from a hollow sphere of cells, the blastula, during embryonic development. Over 1.5 million living Panel_1 species have been described—of which around 1 million are insects—but it has been estimated there are over 7 million Panel_1 species in total. Panel_1s range in length from 8.5 millionths of a metre to 33.6 metres (110 ft). They have complex interactions with each other and their environments, forming intricate food webs. The kingdom Panel_1ia includes humans, but in colloquial use the term Panel_1 often refers only to non-human Panel_1s. The study of non-human Panel_1s is known as zoology.</div>
  </li>
  <li class="panel" data-radio="Panel_2">
    <label for="Panel_2" class="accordion-title">
    
      <span class="accordion-heading">What is the difference in SEO between a guest house site and a site for a gîte?</span>
    </label>
    <div class="accordion-content">MPanel_2s are mainly multicellular, predominantly photosynthetic eukaryotes of the kingdom Panel_2ae. Historically, Panel_2s were treated as one of two kingdoms including all living things that were not Panel_1s, and all algae and fungi were treated as Panel_2s. However, all current definitions of Panel_2ae exclude the fungi and some algae, as well as the prokaryotes (the archaea and bacteria). By one definition, Panel_2s form the clade ViridiPanel_2ae (Latin name for "green Panel_2s"), a group that includes the flowering Panel_2s, conifers and other gymnosperms, ferns and their allies, hornworts, liverworts, mosses and the green algae, but excludes the red and brown algae.</div>
  </li>
  
  </div>
  <div class="flex-col-md-6">
  <li class="panel" data-radio="Panel_3">
    <label for="Panel_3" class="accordion-title">
     
      <span class="accordion-heading">What is the difference in SEO between a guest house site and a site for a gîte?</span>
    </label>
    <div class="accordion-content">Panel_3 is the boundless three-dimensional extent in which objects and events have relative position and direction. Physical Panel_3 is often conceived in three linear dimensions, although modern physicists usually consider it, with time, to be part of a boundless four-dimensional continuum known as Panel_3time. The concept of Panel_3 is considered to be of fundamental importance to an understanding of the physical universe. However, disagreement continues between philosophers over whether it is itself an entity, a relationship between entities, or part of a conceptual framework.</div>
  </li>
  <li class="panel" data-radio="Panel_4">
    <label for="Panel_4" class="accordion-title">
       <span class="accordion-heading">What is the difference in SEO between a guest house site and a site for a gîte?</span>
    </label>
    <div class="accordion-content">A Panel_4 is a natural flowing watercourse, usually freshwater, flowing towards an ocean, sea, lake or another Panel_4. In some cases a Panel_4 flows into the ground and becomes dry at the end of its course without reaching another body of water. Small Panel_4s can be referred to using names such as stream, creek, brook, rivulet, and rill. There are no official definitions for the generic term Panel_4 as applied to geographic features, although in some countries or communities a stream is defined by its size. Many names for small Panel_4s are specific to geographic location; examples are "run" in some parts of the United States, "burn" in Scotland and northeast England, and "beck" in northern England. Sometimes a Panel_4 is defined as being larger than a creek, but not always: the language is vague.</div>
  </li>
    </div>
</ul>
</div>
</div>
</section>

            
          
!

CSS

            
              body{
overflow-y: scroll;
background-image: linear-gradient(to right top, #717171, #7a7a85, #82839b, #878db1, #8998c8, #83a4d9, #78b1e9, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1);
height:1000px;
}

.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-col-xs-12{
   box-sizing: border-box;
    width: 100%;
    padding: 1em;
   width: calc(100% * (12 / 12) );
        max-width: calc(100% * ( 12/ 12) );
}
.flex-row {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1em;

}

.flex-col-md-6 {
  box-sizing: border-box;
  padding: 1em;
  width: 100%;
}


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


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

label {
  cursor: pointer;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}



/* ACCORDION
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.accordion {
  position: relative;
 margin:0
}

input[type="radio"] {
  position: absolute;
  left: -9999px;
}

.accordion label {
  text-align: center;
}


.accordion li,
.accordion .accordion-title {
  display: flex;
  flex-direction:column;
  justify-content:flex-start;
  text-align:left;
  padding: 15px 20px;

}


.accordion .accordion-title {
color:#8a8a8a;
margin:0;
 
}

.accordion li{
-webkit-box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.42);box-shadow: 5px 3px 12px 5px rgba(0,0,0,0.1);margin-bottom: 33px;
   background-color: aliceblue;
}

.accordion .accordion-heading {
  text-decoration: none;color: #717171;
  
}
.accordion .accordion-heading:before{
	content:"+";
	font-size:20px;
	float: left;
	color:#ffffff;
	padding:6px 10px;
	background-color:#93c04d;
	margin-right:25px;
	}
.accordion .accordion-content {
	box-sizing: border-box;
	max-height: 0;
	overflow: hidden;
	transition: max-height, .5s;
	align-items: center;
	justify-content: center;
	position: relative;
	margin:0;
	transiton:all .5s;
}
.accordion .accordion-content:before{
	content: '';
    height: 1px;
    background-color: #717171;
    display: block;
    position: relative;
    margin: 20px auto ;
	width:80%;

	}


[value="Panel_1"]:checked ~ .accordion [data-radio="Panel_1"],
[value="Panel_2"]:checked ~ .accordion [data-radio="Panel_2"],
[value="Panel_3"]:checked ~ .accordion [data-radio="Panel_3"],
[value="Panel_4"]:checked ~ .accordion [data-radio="Panel_4"] {
  flex-grow: 1;
}

[value="Panel_1"]:checked ~ .accordion [for="Panel_1"] + .accordion-content,
[value="Panel_2"]:checked ~ .accordion [for="Panel_2"] + .accordion-content,
[value="Panel_3"]:checked ~ .accordion [for="Panel_3"] + .accordion-content,
[value="Panel_4"]:checked ~ .accordion [for="Panel_4"] + .accordion-content {

      max-height: 400px;
    transition: max-height, 1s;
}

[value="Panel_1"]:checked ~ .accordion [data-radio="Panel_1"] .accordion-heading:before,
[value="Panel_2"]:checked ~ .accordion [data-radio="Panel_2"] .accordion-heading:before,
[value="Panel_3"]:checked ~ .accordion [data-radio="Panel_3"] .accordion-heading:before,
[value="Panel_4"]:checked ~ .accordion [data-radio="Panel_4"] .accordion-heading:before{
content:"-";font-size:20px;float: left;color:#ffffff;padding:6px 10px;background-color:#0098db;margin-right:25px;}

            
          
!

JS

            
              
            
          
!
999px

Console