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 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

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.

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

              
                <div class="container">


    <div class="contain">
  
  <div class="common">
    common name: rubbing alcohol
  </div>


  <div class="chemical">
    chemical name: isopropyl alcohol
  </div>
  
 
  <div class="formula"> 
    (CH<sub>3</sub>)<sub>2</sub>CHOH
  </div>
  
  </div>

  <div class=" contain">
Colorless liquid; slight odor. Irritating to the eyes/skin/respiratory tract.
Eye exposure may cause corneal burns. 
Also causes: drowsiness, dizziness, and incoordination. Chronic: dermatitis. Flammable!
  </div>
  
  

  <div class="contain">
<svg width="329" height="270" viewBox="0 0 329 270" fill="none" xmlns="http://www.w3.org/2000/svg">
<g filter="url(#filter0_d)">
<circle cx="20.5" cy="20.5" r="20.5" transform="translate(11 147)" fill="white"/>
</g>
<g filter="url(#filter1_d)">
<circle cx="20.5" cy="20.5" r="20.5" transform="translate(77 149)" fill="white"/>
</g>
<g filter="url(#filter2_d)">
<circle cx="20.5" cy="20.5" r="20.5" transform="translate(77 218)" fill="white"/>
</g>
<g filter="url(#filter3_d)">
<circle cx="20.5" cy="20.5" r="20.5" transform="translate(144 149)" fill="white"/>
</g>
<g filter="url(#filter4_d)">
<circle cx="20.5" cy="20.5" r="20.5" transform="translate(144 218)" fill="white"/>
</g>
<g filter="url(#filter5_d)">
<circle cx="20.5" cy="20.5" r="20.5" transform="translate(211 147)" fill="white"/>
</g>
<g filter="url(#filter6_d)">
<circle cx="20.5" cy="20.5" r="20.5" transform="translate(211 218)" fill="white"/>
</g>
<g filter="url(#filter7_d)">
<circle cx="20.5" cy="20.5" r="20.5" transform="translate(211 81)" fill="white"/>
</g>
<g filter="url(#filter8_d)">
<circle cx="20.5" cy="20.5" r="20.5" transform="translate(144 81)" fill="white"/>
</g>
<g filter="url(#filter9_d)">
<circle cx="20.5" cy="20.5" r="20.5" transform="translate(144 11)" fill="white"/>
</g>
<g filter="url(#filter10_d)">
<circle cx="20.5" cy="20.5" r="20.5" transform="translate(77 81)" fill="white"/>
</g>
<g filter="url(#filter11_d)">
<circle cx="20.5" cy="20.5" r="20.5" transform="translate(277 147)" fill="white"/>
</g>
<path d="M30.5625 17H28.3477V11.3135H22.626V17H20.4023V4.20312H22.626V9.5293H28.3477V4.20312H30.5625V17Z" transform="translate(139 22)" fill="black"/>
<path d="M30.7998 10.9355C30.7998 12.1895 30.583 13.291 30.1494 14.2402C29.7158 15.1836 29.0947 15.9102 28.2861 16.4199C27.4834 16.9238 26.5576 17.1758 25.5088 17.1758C24.4717 17.1758 23.5459 16.9238 22.7314 16.4199C21.9229 15.9102 21.2959 15.1865 20.8506 14.249C20.4111 13.3115 20.1885 12.2305 20.1826 11.0059V10.2852C20.1826 9.03711 20.4023 7.93555 20.8418 6.98047C21.2871 6.02539 21.9111 5.2959 22.7139 4.79199C23.5225 4.28223 24.4482 4.02734 25.4912 4.02734C26.5342 4.02734 27.457 4.2793 28.2598 4.7832C29.0684 5.28125 29.6924 6.00195 30.1318 6.94531C30.5713 7.88281 30.7939 8.97559 30.7998 10.2236V10.9355ZM28.5762 10.2676C28.5762 8.84961 28.3066 7.7627 27.7676 7.00684C27.2344 6.25098 26.4756 5.87305 25.4912 5.87305C24.5303 5.87305 23.7773 6.25098 23.2324 7.00684C22.6934 7.75684 22.418 8.82031 22.4062 10.1973V10.9355C22.4062 12.3418 22.6787 13.4287 23.2236 14.1963C23.7744 14.9639 24.5361 15.3477 25.5088 15.3477C26.4932 15.3477 27.249 14.9727 27.7764 14.2227C28.3096 13.4727 28.5762 12.377 28.5762 10.9355V10.2676Z" transform="translate(139 91)" fill="black"/>
<path d="M30.6855 12.834C30.5566 14.1992 30.0527 15.2656 29.1738 16.0332C28.2949 16.7949 27.126 17.1758 25.667 17.1758C24.6475 17.1758 23.748 16.9355 22.9688 16.4551C22.1953 15.9688 21.5977 15.2803 21.1758 14.3896C20.7539 13.499 20.5342 12.4648 20.5166 11.2871V10.0918C20.5166 8.88477 20.7305 7.82129 21.1582 6.90137C21.5859 5.98145 22.1982 5.27246 22.9951 4.77441C23.7979 4.27637 24.7236 4.02734 25.7725 4.02734C27.1846 4.02734 28.3213 4.41113 29.1826 5.17871C30.0439 5.94629 30.5449 7.03027 30.6855 8.43066H28.4707C28.3652 7.51074 28.0957 6.84863 27.6621 6.44434C27.2344 6.03418 26.6045 5.8291 25.7725 5.8291C24.8057 5.8291 24.0615 6.18359 23.54 6.89258C23.0244 7.5957 22.7607 8.62988 22.749 9.99512V11.1289C22.749 12.5117 22.9951 13.5664 23.4873 14.293C23.9854 15.0195 24.7119 15.3828 25.667 15.3828C26.54 15.3828 27.1963 15.1865 27.6357 14.7939C28.0752 14.4014 28.3535 13.748 28.4707 12.834H30.6855Z" transform="translate(139 160)" fill="black"/>
<path d="M30.6855 12.834C30.5566 14.1992 30.0527 15.2656 29.1738 16.0332C28.2949 16.7949 27.126 17.1758 25.667 17.1758C24.6475 17.1758 23.748 16.9355 22.9688 16.4551C22.1953 15.9688 21.5977 15.2803 21.1758 14.3896C20.7539 13.499 20.5342 12.4648 20.5166 11.2871V10.0918C20.5166 8.88477 20.7305 7.82129 21.1582 6.90137C21.5859 5.98145 22.1982 5.27246 22.9951 4.77441C23.7979 4.27637 24.7236 4.02734 25.7725 4.02734C27.1846 4.02734 28.3213 4.41113 29.1826 5.17871C30.0439 5.94629 30.5449 7.03027 30.6855 8.43066H28.4707C28.3652 7.51074 28.0957 6.84863 27.6621 6.44434C27.2344 6.03418 26.6045 5.8291 25.7725 5.8291C24.8057 5.8291 24.0615 6.18359 23.54 6.89258C23.0244 7.5957 22.7607 8.62988 22.749 9.99512V11.1289C22.749 12.5117 22.9951 13.5664 23.4873 14.293C23.9854 15.0195 24.7119 15.3828 25.667 15.3828C26.54 15.3828 27.1963 15.1865 27.6357 14.7939C28.0752 14.4014 28.3535 13.748 28.4707 12.834H30.6855Z" transform="translate(206 158)" fill="black"/>
<path d="M30.6855 12.834C30.5566 14.1992 30.0527 15.2656 29.1738 16.0332C28.2949 16.7949 27.126 17.1758 25.667 17.1758C24.6475 17.1758 23.748 16.9355 22.9688 16.4551C22.1953 15.9688 21.5977 15.2803 21.1758 14.3896C20.7539 13.499 20.5342 12.4648 20.5166 11.2871V10.0918C20.5166 8.88477 20.7305 7.82129 21.1582 6.90137C21.5859 5.98145 22.1982 5.27246 22.9951 4.77441C23.7979 4.27637 24.7236 4.02734 25.7725 4.02734C27.1846 4.02734 28.3213 4.41113 29.1826 5.17871C30.0439 5.94629 30.5449 7.03027 30.6855 8.43066H28.4707C28.3652 7.51074 28.0957 6.84863 27.6621 6.44434C27.2344 6.03418 26.6045 5.8291 25.7725 5.8291C24.8057 5.8291 24.0615 6.18359 23.54 6.89258C23.0244 7.5957 22.7607 8.62988 22.749 9.99512V11.1289C22.749 12.5117 22.9951 13.5664 23.4873 14.293C23.9854 15.0195 24.7119 15.3828 25.667 15.3828C26.54 15.3828 27.1963 15.1865 27.6357 14.7939C28.0752 14.4014 28.3535 13.748 28.4707 12.834H30.6855Z" transform="translate(72 160)" fill="black"/>
<path d="M30.5625 17H28.3477V11.3135H22.626V17H20.4023V4.20312H22.626V9.5293H28.3477V4.20312H30.5625V17Z" transform="translate(273 158)" fill="black"/>
<path d="M30.5625 17H28.3477V11.3135H22.626V17H20.4023V4.20312H22.626V9.5293H28.3477V4.20312H30.5625V17Z" transform="translate(206 91)" fill="black"/>
<path d="M30.5625 17H28.3477V11.3135H22.626V17H20.4023V4.20312H22.626V9.5293H28.3477V4.20312H30.5625V17Z" transform="translate(206 229)" fill="black"/>
<path d="M30.5625 17H28.3477V11.3135H22.626V17H20.4023V4.20312H22.626V9.5293H28.3477V4.20312H30.5625V17Z" transform="translate(139 229)" fill="black"/>
<path d="M30.5625 17H28.3477V11.3135H22.626V17H20.4023V4.20312H22.626V9.5293H28.3477V4.20312H30.5625V17Z" transform="translate(72 229)" fill="black"/>
<path d="M30.5625 17H28.3477V11.3135H22.626V17H20.4023V4.20312H22.626V9.5293H28.3477V4.20312H30.5625V17Z" transform="translate(6 158)" fill="black"/>
<path d="M30.5625 17H28.3477V11.3135H22.626V17H20.4023V4.20312H22.626V9.5293H28.3477V4.20312H30.5625V17Z" transform="translate(72 91)" fill="black"/>
<line y1="-0.5" x2="14" y2="-0.5" transform="translate(165 59) rotate(90)" stroke="black"/>
<line y1="-0.5" x2="14" y2="-0.5" transform="translate(165 128) rotate(90)" stroke="black"/>
<line y1="-0.5" x2="14" y2="-0.5" transform="translate(97 128) rotate(90)" stroke="black"/>
<line y1="-0.5" x2="14" y2="-0.5" transform="translate(71 168) rotate(180)" stroke="black"/>
<line y1="-0.5" x2="14" y2="-0.5" transform="translate(138 168) rotate(180)" stroke="black"/>
<line y1="-0.5" x2="14" y2="-0.5" transform="translate(206 168) rotate(180)" stroke="black"/>
<line y1="-0.5" x2="14" y2="-0.5" transform="translate(270 168) rotate(180)" stroke="black"/>
<line y1="-0.5" x2="14" y2="-0.5" transform="translate(232 128) rotate(90)" stroke="black"/>
<line y1="-0.5" x2="14" y2="-0.5" transform="translate(232 197) rotate(90)" stroke="black"/>
<line y1="-0.5" x2="14" y2="-0.5" transform="translate(165 197) rotate(90)" stroke="black"/>
<line y1="-0.5" x2="14" y2="-0.5" transform="translate(97 197) rotate(90)" stroke="black"/>
<defs>
<filter id="filter0_d" x="0" y="136" width="63" height="63" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
<feOffset/>
<feGaussianBlur stdDeviation="5.5"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
</filter>
<filter id="filter1_d" x="66" y="138" width="63" height="63" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
<feOffset/>
<feGaussianBlur stdDeviation="5.5"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
</filter>
<filter id="filter2_d" x="66" y="207" width="63" height="63" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
<feOffset/>
<feGaussianBlur stdDeviation="5.5"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
</filter>
<filter id="filter3_d" x="133" y="138" width="63" height="63" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
<feOffset/>
<feGaussianBlur stdDeviation="5.5"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
</filter>
<filter id="filter4_d" x="133" y="207" width="63" height="63" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
<feOffset/>
<feGaussianBlur stdDeviation="5.5"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
</filter>
<filter id="filter5_d" x="200" y="136" width="63" height="63" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
<feOffset/>
<feGaussianBlur stdDeviation="5.5"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
</filter>
<filter id="filter6_d" x="200" y="207" width="63" height="63" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
<feOffset/>
<feGaussianBlur stdDeviation="5.5"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
</filter>
<filter id="filter7_d" x="200" y="70" width="63" height="63" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
<feOffset/>
<feGaussianBlur stdDeviation="5.5"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
</filter>
<filter id="filter8_d" x="133" y="70" width="63" height="63" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
<feOffset/>
<feGaussianBlur stdDeviation="5.5"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
</filter>
<filter id="filter9_d" x="133" y="0" width="63" height="63" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
<feOffset/>
<feGaussianBlur stdDeviation="5.5"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
</filter>
<filter id="filter10_d" x="66" y="70" width="63" height="63" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
<feOffset/>
<feGaussianBlur stdDeviation="5.5"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
</filter>
<filter id="filter11_d" x="266" y="136" width="63" height="63" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"/>
<feOffset/>
<feGaussianBlur stdDeviation="5.5"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>
</filter>
</defs>
</svg>


  </div>



  </div>
</div>

              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Inconsolata|Roboto');


html {
  font: {
    family: "Inconsolata", sans-serif;
  }
}

.container {
  margin: {
    left: auto;
    right: auto;
    top: 5em;
    bottom: 3em;
  }
  text-align: center;
  width: 500px;
}


.contain {
  border-radius: 3px;
  box-shadow: 0 0 11px #e5e5e5;
  margin: {
    left: auto;
    right: auto;
    top: 5em;
  }
  padding: 3em;
  text-align: center;
  width: 329px;
}


.formula {
  color: #000232;
  font-size: 1.5em;
  margin-top: 15px;
}

sub {
  color: #5380fb;
  font-size: .65em;
}




              
            
!

JS

              
                
              
            
!
999px

Console