"card"
Bootstrap 3.0.0 Snippet by evarevirus

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html><html class=''> <head><script src='//production-assets.codepen.io/assets/editor/live/console_runner-079c09a0e3b9ff743e39ee2d5637b9216b3545af0de366d4b9aad9dc87e26bfd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/events_runner-73716630c22bbc8cff4bd0f07b135f00a0bdc5d14629260c3ec49e5606f98fdd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/css_live_reload_init-2c0dc5167d60a5af3ee189d570b1835129687ea2a61bee3513dee3a50c115a77.js'></script><meta charset='UTF-8'><meta name="robots" content="noindex"><link rel="shortcut icon" type="image/x-icon" href="//production-assets.codepen.io/assets/favicon/favicon-8ea04875e70c4b0bb41da869e81236e54394d63638a1ef12fa558a4a835f1164.ico" /><link rel="mask-icon" type="" href="//production-assets.codepen.io/assets/favicon/logo-pin-f2d2b6d2c61838f7e76325261b7195c27224080bc099486ddd6dccb469b8e8e6.svg" color="#111" /><link rel="canonical" href="https://codepen.io/jjyepez/pen/qmBMNq?depth=everything&limit=all&order=popularity&page=68&q=material+&show_forks=false" /> <link rel='stylesheet prefetch' href='https://unpkg.com/onsenui/css/onsenui.css'><link rel='stylesheet prefetch' href='https://unpkg.com/onsenui/css/onsen-css-components.css'><link rel='stylesheet prefetch' href='https://noesishosting.com/cdn/estilos.css'> <style class="cp-pen-styles">body { overflow: none; background-color: #222; } .contexto { margin-left: -180px; left: 50%; top: 1em; width: 360px; height: 640px; } .contexto .toolbar { background-color: #FDFDFD; } .contexto .toolbar .title { color: #222; } .contexto .tarjeta { height: 25em; } .contexto .contenido-fab { transition: all 0.3s cubic-bezier(0.65, 0.68, 0.34, 1.42); top: 0; } .contexto .bfab { transition: all .3s ease; background-color: #2aD; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); z-index: 2; top: 45%; color: #FFF; } .contexto .contenedor-circular { z-index: 1; overflow: hidden; position: relative; width: 100%; height: 50%; } .contexto .contenedor-circular .contenedor { position: absolute; bottom: -1px; right: -1px; width: 0; height: 0; background-color: #2aD; transition: all ease-out 0.35s; border-radius: 3000px 0 0 0; } .contexto .boton { color: #FFF; text-align: center; margin-bottom: 1em; padding: .75em; cursor: pointer; width: 10em; outline: none !important; font-family: OpenSans, Roboto, Arial, 'sans-serif'; background-color: transparent; border: 1px solid #FFF; border-radius: 4px; font-size: .85em; transition: all ease .5s; } .contexto .boton:hover, .contexto .boton:active { color: #2aD; background-color: #fff; } .bappzi { z-index: 10; position: fixed; top: 1em; right: 1.5em; font-family: Ubuntu, OpenSans, sans-serif, Tahoma; font-weight: bold; color: rgba(127, 127, 127, 0.35); } </style></head><body> <div class="viewport contexto"> <ons-page ng-controller="ngC"> <ons-toolbar class="toolbar" modifier="material"> <div class="pl title center" ng-bind="titulo"></div> </ons-toolbar> <div class="card sin-overflow relativo tarjeta p0"> <div class="absoluto ancho-full div-imagen" style="height:50%;background-image:url(http://lorempixel.com/400/600/people/7)"></div> <div class="circulo absoluto l0 div-imagen h2+ w2+ ml1" style="z-index:10;top:45%;background-image:url(http://placeimg.com/100/100/people/4)"></div> <div class="bfab circulo absoluto r0 mr1 sin-overflow h2+ w2+ alinear-centro cursor-pointer" ng-click="accion()"> <div class="contenido-fab ancho-full absoluto"> <ons-icon class="lh2" size="1.25em" icon="md-twitter"></ons-icon><br/> <ons-icon class="lh2" size="1.25em" icon="md-close"> </ons-icon> </div> </div> <div class="contenedor-circular"> <div class="contenedor sin-overflow"> <div class="absoluto r0 b0" style="height:11em;width:15.5em"> <div class="boton">DUPLICATE</div> <div class="boton">SCHEDULE</div> <div class="boton">DELETE</div> </div> </div> </div> <div class="texto-md ct gris p1+ mt1+">Nemo, velit maxime excepturi dolores, optio voluptates, molestiae quas labore explicabo facere at a voluptatibus qui totam voluptate deleniti quia consequatur quam?</div> </div> </ons-page><a href="http://bappzi.com" target="_blank"> <div class="bappzi">bappzi</div></a> </div> <script src='//production-assets.codepen.io/assets/common/stopExecutionOnTimeout-b2a7b3fe212eaa732349046d8416e00a9dec26eb7fd347590fbced3ab38af52e.js'></script><script src='https://unpkg.com/angular/angular.min.js'></script><script src='https://unpkg.com/onsenui/js/onsenui.min.js'></script><script src='https://unpkg.com/jquery/dist/jquery.min.js'></script><script src='https://unpkg.com/onsenui/js/angular-onsenui.min.js'></script> <script >var app = ons.bootstrap(); app .controller('ngC', function($scope){ $scope.titulo = "CSS-based Circular Reveal"; $scope.accion = function(e){ var $contenidoFab = $('.contenido-fab'); var $contenedor = $('.contenedor-circular .contenedor'); var max = ($('.contenedor-circular')[0].getBoundingClientRect().width*1.5)+'px'; var $bFab = $('.bfab'); var objClase={}, objClase2={}, objClase3={}; if( $contenidoFab.hasClass('cerrar') ){ objClase = {'top':'0','color':'#FFF'}; objClase2 = {'background-color':'#2ad'}; objClase3 = {'width':'0','height':'0'}; } else { objClase = {'top':'-2.5em','color':'#169'}; objClase2 = {'background-color':'#FFF'}; objClase3 = {'width':max,'height':max}; } $contenidoFab .css(objClase) .toggleClass('cerrar'); $bFab .css(objClase2); $contenedor .css(objClase3); } }) //# sourceURL=pen.js </script> </body></html>

Related: See More


Questions / Comments:

You took this code without any authorization from https://codepen.io/jjyepez/pen/qmBMNq by its author

upmBoot () - 6 years ago - Reply 0