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.

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="flip-container" ontouchstart="this.classList.toggle('hover');">
	<div class="flipper">
		<div class="front">
      <div class="title">Jon’s PM meeting hours</div>
      <?xml version="1.0" encoding="UTF-8"?>
<svg width="265px" height="26px" viewBox="0 0 265 26" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <!-- Generator: Sketch 47.1 (45422) - http://www.bohemiancoding.com/sketch -->
    <title>Group</title>
    <desc>Created with Sketch.</desc>
    <defs></defs>
    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
        <g id="Assign---Eric-explore-2" transform="translate(-735.000000, -340.000000)">
            <g id="Group" transform="translate(735.000000, 336.000000)">
                <rect id="Rectangle-6" fill="#EAEEEF" opacity="0.660382699" x="0" y="21" width="265" height="9" rx="2"></rect>
                <text id="60%-completed-Ends-1" font-family="SegoeUI-Semilight, Segoe UI" font-size="13" font-weight="300" fill="#344B59">
                    <tspan x="2" y="14">60% completed 		            Ends 12/31/17</tspan>
                </text>
                <rect id="Rectangle-6" fill="#FC7944" opacity="0.660382699" x="0" y="21" width="140" height="9" rx="2"></rect>
            </g>
        </g>
    </g>
</svg>
      <?xml version="1.0" encoding="UTF-8"?>
<svg class="frontstuff" width="286px" height="30px" viewBox="0 0 286 30" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <!-- Generator: Sketch 47.1 (45422) - http://www.bohemiancoding.com/sketch -->
    <title>Group</title>
    <desc>Created with Sketch.</desc>
    <defs></defs>
    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
        <g id="Assign---Eric-explore-2" transform="translate(-409.000000, -394.000000)">
            <g id="Group" transform="translate(409.000000, 394.000000)">
                <path d="M0,0 L286,0 L286,27 L286,27 C286,28.6568542 284.656854,30 283,30 L3,30 L3,30 C1.34314575,30 6.46995335e-16,28.6568542 4.4408921e-16,27 L0,0 Z" id="Rectangle-26" fill="#F9FDFD"></path>
                <text id="Edit" font-family="SegoeUI, Segoe UI" font-size="13" font-weight="normal" fill="#385868">
                    <tspan x="130" y="21">Edit</tspan>
                </text>
                <text id="" font-family="FabricMDL2Assets, Fabric MDL2 Assets" font-size="14" font-weight="normal" fill="#385868">
                    <tspan x="108" y="23"></tspan>
                </text>
            </g>
        </g>
    </g>
</svg>
		</div>
		<div class="back">
			<?xml version="1.0" encoding="UTF-8"?>
<svg class="backstuff"width="286px" height="143px" viewBox="0 0 286 143" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <!-- Generator: Sketch 47.1 (45422) - http://www.bohemiancoding.com/sketch -->
    <title>Group 4</title>
    <desc>Created with Sketch.</desc>
    <defs></defs>
    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
        <g id="Assign---Eric-explore-2" transform="translate(-409.000000, -281.000000)">
            <g id="Group-4" transform="translate(409.000000, 275.000000)">
                <path d="M0,119 L286,119 L286,146 L286,146 C286,147.656854 284.656854,149 283,149 L3,149 L3,149 C1.34314575,149 6.46995335e-16,147.656854 4.4408921e-16,146 L0,119 Z" id="Rectangle-26" fill="#F9FDFD"></path>
                <text id="Edit" font-family="SegoeUI, Segoe UI" font-size="13" font-weight="normal" fill="#385868">
                    <tspan x="130" y="140">Edit</tspan>
                </text>
                <text id="" font-family="FabricMDL2Assets, Fabric MDL2 Assets" font-size="14" font-weight="normal" fill="#385868">
                    <tspan x="108" y="142"></tspan>
                </text>
                <path d="M0.5,119.5 L285.5,119.5" id="Line-3" stroke="#DADADA" stroke-linecap="square"></path>
                <g id="Group-3" transform="translate(198.000000, 0.000000)" fill="#325868">
                    <text id="Goal" font-family="SegoeUI-Semilight, Segoe UI" font-size="13" font-weight="300" line-spacing="14">
                        <tspan x="20.1140137" y="37.9243164">Goal</tspan>
                    </text>
                    <text id="12-hrs" font-family="SegoeUI-Semibold, Segoe UI" font-size="20" font-weight="500" line-spacing="26">
                        <tspan x="5.6171875" y="19.8164062">12 hrs</tspan>
                    </text>
                </g>
                <text id="Group-name:-Perry’s" font-family="SegoeUI-Semibold, Segoe UI" font-size="13" font-weight="500" line-spacing="26" fill="#325868">
                    <tspan x="12" y="48">Group name: 	</tspan>
                    <tspan x="96" y="48" font-family="SegoeUI, Segoe UI" font-weight="normal">Perry’s designers</tspan>
                    <tspan x="12" y="74">Start:</tspan>
                    <tspan x="43.2050781" y="74" font-family="SegoeUI, Segoe UI" font-weight="normal"> 		07/01/2017 </tspan>
                    <tspan x="12" y="100">End:</tspan>
                    <tspan x="37.2827148" y="100" font-family="SegoeUI, Segoe UI" font-weight="normal"> 		12/31/2017</tspan>
                </text>
            </g>
        </g>
    </g>
</svg>
		</div>
	</div>
</div>
              
            
!

CSS

              
                html{
font-family:Segoe UI,Segoe UI Web Semilight,Segoe UI Semilight,Segoe WP Semilight,Segoe WP,Tahoma,Arial,"sans-serif";
}

.flipper{

}


	.flip-container:hover .flipper, .flip-container.hover .flipper {
		transform: rotateY(180deg);
    
	}

.flip-container, .front, .back {

    perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  height:100vh;
}

/* flip speed goes here */
.flipper {
	transition: all 0.4s ease-in-out;
	transform-style: preserve-3d;
	position: relative;
  width:288px;
  height:158px;
  background:none;
  border:1px solid #DADADA;
  border-radius:3px;
}

/* hide back of pane during swap */
.front, .back {
	backface-visibility: hidden;

	position: absolute;
	top: 0;
	left: 0;
}

/* front pane, placed above back */
.front {
	z-index: 2;
	/* for firefox 31 */
	transform: rotateY(0deg);
 
}
 .title{
    position:absolute;
    top:0px;
    left:0px;
    color:#344B59;
    width:268px;
   font-size:15px;
   font-weight:600;
   border-bottom:1px solid #DADADA;
   margin:10px;
   padding-bottom:10px;
  }
svg{
  position:absolute;
    top:60px;
    left:10px;
  
}

.frontstuff{
  position:absolute;
    top:127px;
    left:1px;
  border-top:1px solid #DADADA;
  
}
/* back, initially hidden pane */
.back {
	transform: rotateY(180deg);
 
}

.backstuff{
  position:absolute;
    top:13px;
    left:-287px;
}
              
            
!

JS

              
                
              
            
!
999px

Console