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.

<div class="container">
<svg viewBox="0 0 1104 1340" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">

        <rect id="path-1" x="115" y="0" width="902" height="819" rx="5"></rect>
        <mask id="mask-2" maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="902" height="819" fill="white">
            <use xlink:href="#path-1"></use>
    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
        <g id="Toilet" transform="translate(1.000000, 1.000000)">
            <use id="Rectangle-10" stroke="#979797" mask="url(#mask-2)" stroke-width="2" fill="#D8D8D8" xlink:href="#path-1"></use>
            <ellipse id="Oval" stroke="#979797" fill="#E6DEDE" cx="115.5" cy="409.5" rx="115.5" ry="409.5"></ellipse>
            <ellipse id="Oval-3" stroke="#979797" fill="#CCC6C6" cx="115" cy="409" rx="61" ry="170"></ellipse>
            <path d="M1022,819 C1055.68937,819 1102.39062,635.660605 1102.39062,409.5 C1102.39062,183.339395 1055.68937,0 1022,0 C988.31063,0 961,183.339395 961,409.5 C961,635.660605 988.31063,819 1022,819 Z" id="Oval-4" fill="#D8D8D8"></path>
            <rect id="upper" fill="#D8D8D8" x="231" y="298" width="866" height="600"></rect>
            <g id="Group-2" transform="translate(518.000000, 298.000000)">
                <ellipse id="Oval-2" fill="#000000" cx="39.9295113" cy="37.6560773" rx="39.9295113" ry="37.6560773"></ellipse>
                <ellipse id="Oval-2" fill="#000000" cx="253.070489" cy="37.6560773" rx="39.9295113" ry="37.6560773"></ellipse>
                <path d="M79.8590226,130.009669 C79.8590226,220.69691 212.917234,223.205024 212.917234,128.085635" id="Path-2" stroke="#000000" stroke-width="20"></path>
              body {
  background: #FCF5C7;
.container {
  position: absolute;
  margin: auto;
  top: 0; bottom: 0;
  left: 0; right: 0;
  width: 200px; height: 500px;

svg {
  width: 200px;
  height: 600px;

#upper {
  animation: 5s roll ease infinite;

@keyframes roll{
  50% { height: 1800px }
Loading ..................