Skip to content

Instantly share code, notes, and snippets.

@sturob
Created June 25, 2013 21:17
Show Gist options
  • Select an option

  • Save sturob/5862489 to your computer and use it in GitHub Desktop.

Select an option

Save sturob/5862489 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
html {
font-family: Helvetica;
background: #f06;
background: linear-gradient(23deg, #f06, yellow);
min-height: 100%;
}
* {
margin: 0;
padding: 0;
}
span {
background: rgba(255,255,255,0.2);
display: inline-block;
text-align: center;
font-size: 48px;
margin-top: 100px;
position: relative;
}
b { display: block; }
#l1 { width: 60px; }
#l1 b { transform: scalex(1.5); }
#l2 { width: 110px; }
#l2 b { transform: scalex(4); }
#l3 { width: 60px; }
#l3 b { transform: scalex(6.3); }
#l4 { width: 100px; }
#l4 b { transform: scalex(4) }
#l5 { width: 110px; }
#l5 b { transform: scalex(4) }
#l6 { width: 110px; }
#l6 b { transform: scalex(2.5) }
/**
* Circular Pulse
*/
.pulse {
margin: 10px;
width: 100px;
background: white;
/* box-shadow: 0 0 0 1px #000; */
animation: thePulse infinite 1.2s ease-in-out;
}
@-webkit-keyframes thePulse {
0% { box-shadow: 0 0 0 1px transparent; }
50% { box-shadow: 0 0 0 1px #000; }
100% { box-shadow: 0 0 0 1px transparent; }
}
span:nth-child(7):after {
position: absolute;
top: 2px;
right: -3px;
content: '';
width: 0px;
height: 50px;
box-shadow: 0 0 0 1px #000;
animation: thePulse infinite 1.2s ease-in-out;
}
@-webkit-keyframes thePulse {
0% { box-shadow: 0 0 0 1px transparent; }
50% { box-shadow: 0 0 0 1px #000; }
100% { box-shadow: 0 0 0 1px transparent; }
}
<!-- content to be placed inside <body>…</body> -->
<span id="l1"><b>w</b></span>
<span id="l2"><b>e</b></span>
<span id="l3"><b>l</b></span>
<span id="l4"><b>c</b></span>
<span id="l5"><b>o</b></span>
<span id="l6"><b>m</b></span>
<span id="l7"><b>e</b></span>
<div class="pulse">aaa</div>
// alert('Hello world!');
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment