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.

            
              <div class="map-poi">
  <input name="poi" type="radio">
  <label for="poi">Fetih</label>
  <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="12px" height="18px" viewBox="0 0 310 467" version="1.1" xmlns="http://www.w3.org/2000/svg">
    <title>Map</title>
    <g stroke="none" stroke-width="1" fill="none">
        <g id="location-pin" fill="#006DF0">
            <path d="M155.292,0 C70.192,0 0.958,69.234 0.958,154.333 C0.958,188.608 22.845,244.488 67.866,325.167 C99.712,382.23 131.034,429.81 132.35,431.807 L155.292,466.582 L178.233,431.808 C179.55,429.81 210.874,382.231 242.716,325.168 C287.739,244.488 309.624,188.609 309.624,154.334 C309.625,69.234 240.391,0 155.292,0 L155.292,0 Z M155.292,233.291 C111.11,233.291 75.292,197.474 75.292,153.291 C75.292,109.108 111.11,73.291 155.292,73.291 C199.474,73.291 235.292,109.108 235.292,153.291 C235.292,197.474 199.473,233.291 155.292,233.291 L155.292,233.291 Z"></path>
        </g>
    </g>
</svg>
  <span>1.8 km</span>
</div>
            
          
!
            
              @import url('https://fonts.googleapis.com/css?family=Merriweather+Sans:300,800');

body {
  font-size: 20px;
  font-family: 'Merriweather Sans', sans-serif;
}

.map-poi {
  display: flex;
  align-items: center;
  width: 460px;
  margin: 0 auto;
  padding: 5px 10px;
  box-shadow: 1px 1px 3px rgba(0,0,0,.2);
}

.map-poi label {
  padding-left: 5px;
}

.map-poi svg {
  margin-left: auto;
  margin-right: 5px;
  align-self: baseline;
}

.map-poi svg g {
  fill: black;
}

.map-poi span {
  font-size: 12px;
}
            
          
!
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