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.

Quick-add: + add another resource

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.

Quick-add: + add another resource

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=Quicksand:300,400,700|Raleway:400,100,200,300,500,600,700,800,900|Playfair+Display+SC:400italic,700italic,400,700,900' rel='stylesheet' type='text/css'>

<div class="wrapper">
  <svg><text class="upper sans">You have to</text></svg>
  <svg><text class="upper sans bold">say no</text></svg>
  <svg><text class="upper sans">to a lot of</text></svg>
  <svg><text class="upper serif">good things</text></svg>
  <svg><text class="upper sans">in order to be able to</text></svg>
  <svg><text class="upper sans bold">say yes</text></svg>
  <svg><text class="upper sans">to a lot of</text></svg>
  <svg><text class="upper serif">great things</text></svg>
              body {
  background-color: oldlace;

svg {
  display: block;
  width: 100%;
  max-height: 100%;
  //outline: 1px solid tomato;
  text {
    fill: #222;
  .sans {
    font-family: 'Raleway';
    font-weight: 200;
  .serif {
    font-family: 'Playfair Display SC';
    font-weight: 700;
  .bold {
    font-weight: 900;
  .upper {
    text-transform: uppercase;

.wrapper {
  margin: 30px auto;
  width: 200px;
  border: 10px solid #222;
  padding: 20px;
              setTimeout(function() {
  $('svg').each(function() {
    var svg = $(this);
    var text = svg.find('text');
    var bbox = text.get(0).getBBox(); 

                             bbox.height].join(' '));
}, 100);

Loading ..................