HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
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.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<div class="pin"></div>
$test: #bada55;
$blue: #2484e1;
$light-blue: #64abea;
$red: #ea1e00;
$gray: #6d6d6d;
$light-gray: #e4ddd7;
$mid-gray: #d4cbba;
$green: #c3e790;
$white: #ffffff;
$black: #020202;
div, div:before, div:after {
display: block;
content: '';
position: absolute;
box-sizing:border-box;
}
body {
height: 100vh;
width: 100vw;
display: flex;
justify-content: center;
align-items: center;
background:
radial-gradient(lighten($blue, 40%), lighten($blue, 10%));
}
$box-w: 0vmin;
$box-h: 0vmin;
div.pin {
width: 100vmin;
height: 95vmin;
left: 7vmin;
//opacity: 0.7;
transform: perspective(200vmin) rotateY(25deg);
display: flex;
position: relative;
justify-content: center;
align-items: center;
margin: 0 auto;
background:
//back
linear-gradient( lighten($blue, 10%) 0vmin,
lighten($blue, 10%) 4vmin,
transparent 4vmin,
transparent 5vmin,
lighten($blue, 10%) 5vmin,
lighten($blue, 10%) 9vmin,
transparent 9vmin ) calc(#{$box-w} + 35vmin) calc(#{$box-h} + 6vmin) / 29vmin 15vmin no-repeat,
linear-gradient($blue 13vmin, transparent 1vmin ) calc(#{$box-w} + 28.25vmin) calc(#{$box-h} + 5vmin) / 41.25vmin 24vmin no-repeat,
/*** MAP ***/
//Duke St.
linear-gradient($white 1.5vmin, transparent 1.5vmin, transparent 2.5vmin, $white 2.5vmin, $white 4vmin, transparent 4vmin ) calc(#{$box-w} + 28.5vmin) calc(#{$box-h} + 21vmin) / 41vmin 6vmin no-repeat,
//Metro
linear-gradient(-45deg, transparent 16vmin, $green 16vmin, $green 21.5vmin, transparent 21.5vmin ) calc(#{$box-w} + 28.5vmin) calc(#{$box-h} + 12vmin) / 21vmin 22vmin no-repeat,
//Diagonal St.
linear-gradient(-45deg, transparent 6vmin, $white 6vmin, $white 7.5vmin, transparent 7.5vmin ) calc(#{$box-w} + 35vmin) calc(#{$box-h} + 12vmin) / 21vmin 9vmin no-repeat,
radial-gradient(ellipse at 100% 0%, transparent 5vmin, $white 5vmin, $white 6.5vmin, transparent 1vmin ) calc(#{$box-w} + 37vmin) calc(#{$box-h} + 16vmin) / 20vmin 20vmin no-repeat,
radial-gradient(ellipse at 100% 0%, $mid-gray 4.5vmin, transparent 1vmin ) calc(#{$box-w} + 39vmin) calc(#{$box-h} + 15.5vmin) / 20vmin 20vmin no-repeat,
linear-gradient($mid-gray 20vmin, transparent 1vmin) calc(#{$box-w} + 59vmin) calc(#{$box-h} + 15.5vmin) / 10vmin 4.5vmin no-repeat,
//Delaney St.
linear-gradient(90deg, $white 1.5vmin, transparent 1.5vmin, transparent 2.5vmin, $white 2.5vmin, $white 4vmin, transparent 4vmin ) calc(#{$box-w} + 47vmin) calc(#{$box-h} + 24vmin) / 41vmin 30vmin no-repeat,
radial-gradient(ellipse at 50% 95%, $green 3.5vmin, $white 3.5vmin, $white 5vmin, transparent 1vmin ) calc(#{$box-w} + 39vmin) calc(#{$box-h} + 48vmin) / 20vmin 10vmin no-repeat,
linear-gradient(90deg, $white 1.5vmin, $green 1vmin, $green 8.5vmin, $white 8.5vmin, $white 10vmin, transparent 10vmin) calc(#{$box-w} + 44vmin) calc(#{$box-h} + 57vmin) / 41vmin 25vmin no-repeat,
linear-gradient($white 1.5vmin, transparent 1vmin) calc(#{$box-w} + 44vmin) calc(#{$box-h} + 82vmin) / 10vmin 25vmin no-repeat,
//Access Road
linear-gradient(90deg, $white 1.5vmin, transparent 1.5vmin, transparent 1vmin) calc(#{$box-w} + 33.5vmin) calc(#{$box-h} + 32vmin) / 41vmin 11vmin no-repeat,
//Jamison & Ballys St.
linear-gradient($white 1.5vmin, transparent 1.5vmin, transparent 15vmin, $white 15vmin, $white 16.5vmin, transparent 16.5vmin) calc(#{$box-w} + 28.5vmin) calc(#{$box-h} + 42vmin) / 41vmin 25vmin no-repeat,
//Access Road
linear-gradient($white 1.5vmin, transparent 1.5vmin, transparent 1vmin) calc(#{$box-w} + 28.5vmin) calc(#{$box-h} + 70vmin) / 3vmin 11vmin no-repeat,
//Access Road
linear-gradient(90deg, $white 1.5vmin, transparent 1.5vmin, transparent 1vmin) calc(#{$box-w} + 66.5vmin) calc(#{$box-h} + 60vmin) / 3vmin 11vmin no-repeat,
linear-gradient($white 1.5vmin, transparent 1.5vmin, transparent 1vmin) calc(#{$box-w} + 66.5vmin) calc(#{$box-h} + 70vmin) / 3vmin 11vmin no-repeat,
// 2000 Duke
radial-gradient(ellipse at 100% 0%, transparent 6vmin, $mid-gray 6vmin, $mid-gray 11vmin, transparent 1vmin ) calc(#{$box-w} + 26vmin) calc(#{$box-h} + 26vmin) / 20vmin 20vmin no-repeat,
linear-gradient($mid-gray 15vmin, transparent 1vmin) calc(#{$box-w} + 41vmin) calc(#{$box-h} + 35vmin) / 5vmin 6vmin no-repeat,
linear-gradient($mid-gray 20vmin, transparent 1vmin) calc(#{$box-w} + 28.5vmin) calc(#{$box-h} + 30vmin) / 3vmin 11vmin no-repeat,
// 2001 Duke
radial-gradient(ellipse at 0% 0%, transparent 6vmin, $mid-gray 6vmin, $mid-gray 11vmin, transparent 1vmin ) calc(#{$box-w} + 52vmin) calc(#{$box-h} + 26vmin) / 20vmin 20vmin no-repeat,
linear-gradient($mid-gray 15vmin, transparent 1vmin) calc(#{$box-w} + 52vmin) calc(#{$box-h} + 35vmin) / 5vmin 6vmin no-repeat,
linear-gradient($mid-gray 20vmin, transparent 1vmin) calc(#{$box-w} + 64.5vmin) calc(#{$box-h} + 26vmin) / 5vmin 15vmin no-repeat,
//PTO W1
linear-gradient($mid-gray 15vmin, transparent 1vmin) calc(#{$box-w} + 35vmin) calc(#{$box-h} + 45vmin) / 8vmin 10vmin no-repeat,
linear-gradient(135deg, $mid-gray 5vmin, transparent 1vmin) calc(#{$box-w} + 42vmin) calc(#{$box-h} + 45vmin) / 4vmin 6vmin no-repeat,
linear-gradient($mid-gray 15vmin, transparent 1vmin) calc(#{$box-w} + 28.5vmin) calc(#{$box-h} + 45vmin) / 5vmin 5vmin no-repeat,
//PTO W2
linear-gradient($mid-gray 25vmin, transparent 1vmin) calc(#{$box-w} + 35vmin) calc(#{$box-h} + 60vmin) / 8vmin 23vmin no-repeat,
linear-gradient(-45deg, $mid-gray 5vmin, transparent 1vmin) calc(#{$box-w} + 33vmin) calc(#{$box-h} + 65vmin) / 4vmin 6vmin no-repeat,
linear-gradient(-135deg, $mid-gray 5vmin, transparent 1vmin) calc(#{$box-w} + 33vmin) calc(#{$box-h} + 70vmin) / 4vmin 6vmin no-repeat,
linear-gradient($mid-gray 20vmin, transparent 1vmin) calc(#{$box-w} + 28.5vmin) calc(#{$box-h} + 75vmin) / 4vmin 9vmin no-repeat,
//PTO E1
linear-gradient($mid-gray 15vmin, transparent 1vmin) calc(#{$box-w} + 55vmin) calc(#{$box-h} + 45vmin) / 8vmin 10vmin no-repeat,
linear-gradient(-135deg, $mid-gray 5vmin, transparent 1vmin) calc(#{$box-w} + 52vmin) calc(#{$box-h} + 45vmin) / 4vmin 6vmin no-repeat,
linear-gradient($mid-gray 15vmin, transparent 1vmin) calc(#{$box-w} + 65vmin) calc(#{$box-h} + 45vmin) / 4.25vmin 10vmin no-repeat,
//PTO E2
linear-gradient($mid-gray 25vmin, transparent 1vmin) calc(#{$box-w} + 55.5vmin) calc(#{$box-h} + 60vmin) / 8vmin 23vmin no-repeat,
linear-gradient(45deg, $mid-gray 5vmin, transparent 1vmin) calc(#{$box-w} + 61vmin) calc(#{$box-h} + 65vmin) / 4vmin 6vmin no-repeat,
linear-gradient(135deg, $mid-gray 5vmin, transparent 1vmin) calc(#{$box-w} + 61vmin) calc(#{$box-h} + 70vmin) / 4vmin 6vmin no-repeat,
linear-gradient($mid-gray 20vmin, transparent 1vmin) calc(#{$box-w} + 66vmin) calc(#{$box-h} + 75vmin) / 3vmin 9vmin no-repeat,
//PTO
linear-gradient($mid-gray 25vmin, transparent 1vmin) calc(#{$box-w} + 35vmin) calc(#{$box-h} + 87vmin) / 28vmin 3vmin no-repeat,
linear-gradient(45deg, $mid-gray 5vmin, transparent 1vmin) calc(#{$box-w} + 61vmin) calc(#{$box-h} + 65vmin) / 4vmin 6vmin no-repeat,
linear-gradient(135deg, $mid-gray 5vmin, transparent 1vmin) calc(#{$box-w} + 61vmin) calc(#{$box-h} + 70vmin) / 4vmin 6vmin no-repeat,
/*** PHONE ***/
radial-gradient(ellipse, $gray .6vmin, transparent .6vmin ) calc(#{$box-w} + 53vmin) calc(#{$box-h} + 2vmin) / 2vmin 2vmin no-repeat,
linear-gradient($gray .75vmin, transparent .75vmin ) calc(#{$box-w} + 45vmin) calc(#{$box-h} + 2.5vmin) / 7.5vmin 7vmin no-repeat,
linear-gradient($black 3.75vmin, transparent 1vmin ) calc(#{$box-w} + 40vmin) calc(#{$box-h} + 1.25vmin) / 18vmin 7vmin no-repeat,
linear-gradient($black 1.75vmin, transparent 1vmin ) calc(#{$box-w} + 38vmin) calc(#{$box-h} + 1.25vmin) / 21.5vmin 7vmin no-repeat,
radial-gradient(ellipse at 100% 0%, $black 2vmin, transparent .5vmin ) calc(#{$box-w} + 20vmin) calc(#{$box-h} + 3vmin) / 20vmin 20vmin no-repeat,
radial-gradient(ellipse at 0% 0%, $black 2vmin, transparent .5vmin ) calc(#{$box-w} + 57.5vmin) calc(#{$box-h} + 3vmin) / 20vmin 20vmin no-repeat,
//N
linear-gradient($black 1.5vmin, $blue 1vmin ) calc(#{$box-w} + 32vmin) calc(#{$box-h} + 0vmin) / 34vmin 6vmin no-repeat,
//S
linear-gradient(360deg, $black 1.5vmin, $light-gray 1vmin ) calc(#{$box-w} + 32vmin) calc(#{$box-h} + 85.5vmin) / 34vmin 6vmin no-repeat,
//W
linear-gradient(90deg, $black 1.5vmin, $light-gray 1vmin ) calc(#{$box-w} + 26.75vmin) calc(#{$box-h} + 5vmin) / 6vmin 81vmin no-repeat,
linear-gradient(90deg, lighten($black, 25%) .75vmin, transparent .75vmin ) calc(#{$box-w} + 26.25vmin) calc(#{$box-h} + 13vmin) / 7.5vmin 2.5vmin no-repeat,
linear-gradient(90deg, lighten($black, 25%).75vmin, transparent .75vmin ) calc(#{$box-w} + 26.25vmin) calc(#{$box-h} + 19vmin) / 7.5vmin 7.5vmin no-repeat,
linear-gradient(90deg, lighten($black, 25%).75vmin, transparent .75vmin ) calc(#{$box-w} + 26.25vmin) calc(#{$box-h} + 27vmin) / 7.5vmin 7.5vmin no-repeat,
//E
linear-gradient(-90deg, $black 1.5vmin, $light-gray 1vmin ) calc(#{$box-w} + 65vmin) calc(#{$box-h} + 5vmin) / 6vmin 81vmin no-repeat,
linear-gradient(90deg, $black .75vmin, transparent .75vmin ) calc(#{$box-w} + 70.5vmin) calc(#{$box-h} + 21.5vmin) / 7.5vmin 7vmin no-repeat,
//SE
radial-gradient(ellipse at 0% 0%, $light-gray 4vmin, $black 4vmin, $black 5.5vmin, transparent 1vmin ) calc(#{$box-w} + 65.5vmin) calc(#{$box-h} + 86vmin) / 23vmin 23vmin no-repeat,
//NE
radial-gradient(ellipse at 0% 100%,$blue 4vmin, $black 4vmin, $black 5.5vmin, transparent 1vmin ) calc(#{$box-w} + 65.5vmin) calc(#{$box-h} + -17.5vmin) / 23vmin 23vmin no-repeat,
//SW
radial-gradient(ellipse at 100% 0%, $light-gray 4vmin, $black 4vmin, $black 5.5vmin, transparent 1vmin ) calc(#{$box-w} + 9.25vmin) calc(#{$box-h} + 86vmin) / 23vmin 23vmin no-repeat,
//NW
radial-gradient(ellipse at 100% 100%, $blue 4vmin, $black 4vmin, $black 5.5vmin, transparent 1vmin ) calc(#{$box-w} + 9.25vmin) calc(#{$box-h} + -17.5vmin) / 23vmin 23vmin no-repeat,
//back
linear-gradient(-90deg, $light-gray 50vmin, transparent 1vmin ) calc(#{$box-w} + 27vmin) calc(#{$box-h} + 5vmin) / 44vmin 81vmin no-repeat,
radial-gradient(ellipse at 100% 0%, $light-gray 4vmin, $black 4vmin, $black 5.5vmin, transparent 1vmin ) calc(#{$box-w} + 8vmin) calc(#{$box-h} + 85.5vmin) / 23vmin 23vmin no-repeat,
radial-gradient(ellipse at 100% 100%, $blue 4vmin, $black 4vmin, $black 5.5vmin, transparent 1vmin ) calc(#{$box-w} + 8.05vmin) calc(#{$box-h} + -17.3vmin) / 23vmin 23vmin no-repeat,
linear-gradient(90deg, $black 6vmin, transparent 1vmin) calc(#{$box-w} + 25.5vmin) calc(#{$box-h} + 5vmin) / 6vmin 81vmin no-repeat,
}
div.pin:after {
width: 42vmin;
height: 88vmin;
padding-top: 2.5vmin;
padding-left: 10.5vmin;
font-size: 2.2vmin;
font-weight: 300;
z-index: 99999;
color: $white;
line-height: 2.2;
white-space: pre-wrap;
font-family: 'Leto', sans-serif;
content: 'Motley Fool HQ \a PTO Cafe';
background:
repeating-linear-gradient(lighten($blue, 20%) 0vmin, lighten($blue, 30%) .25vmin, transparent .25vmin, transparent .5vmin) calc(#{$box-w} + 7vmin) calc(#{$box-h} + 3.75vmin) / 2.5vmin 2vmin no-repeat,
repeating-linear-gradient(lighten($blue, 20%) 0vmin, lighten($blue, 30%) .25vmin, transparent .25vmin, transparent .5vmin) calc(#{$box-w} + 7vmin) calc(#{$box-h} + 8.5vmin) / 2.5vmin 2vmin no-repeat,
linear-gradient(45deg, transparent 2vmin, lighten($blue, 30%) 2vmin, lighten($blue, 30%) 2.25vmin, transparent 2.25vmin) calc(#{$box-w} + 36.1vmin) calc(#{$box-h} + 3.75vmin) / 2.5vmin 2.5vmin no-repeat,
linear-gradient(-45deg, transparent 2vmin, lighten($blue, 30%) 2vmin, lighten($blue, 30%) 2.25vmin, transparent 2.25vmin) calc(#{$box-w} + 36.5vmin) calc(#{$box-h} + 3.75vmin) / 2.5vmin 2.5vmin no-repeat,
linear-gradient(45deg, transparent 2vmin, lighten($blue, 30%) 2vmin, lighten($blue, 30%) 2.25vmin, transparent 2.25vmin) calc(#{$box-w} + 36.1vmin) calc(#{$box-h} + 8.5vmin) / 2.5vmin 2.5vmin no-repeat,
linear-gradient(-45deg, transparent 2vmin, lighten($blue, 30%) 2vmin, lighten($blue, 30%) 2.25vmin, transparent 2.25vmin) calc(#{$box-w} + 36.5vmin) calc(#{$box-h} + 8.5vmin) / 2.5vmin 2.5vmin no-repeat,
linear-gradient(-135deg, transparent 2vmin, lighten($blue, 30%) 2vmin, lighten($blue, 30%) 2.3vmin, transparent 2.3vmin) calc(#{$box-w} + 1.6vmin) calc(#{$box-h} + 3.5vmin) / 2vmin 2vmin no-repeat,
linear-gradient(-45deg, transparent 2vmin, lighten($blue, 30%) 2vmin, lighten($blue, 30%) 2.3vmin, transparent 2.3vmin) calc(#{$box-w} + 1.5vmin) calc(#{$box-h} + 3.5vmin) / 2vmin 2vmin no-repeat,
linear-gradient(lighten($blue, 30%) 2vmin, transparent 1vmin) calc(#{$box-w} + 1.75vmin) calc(#{$box-h} + 4.25vmin) / 3vmin .3vmin no-repeat,
}
div.pin:before {
width: 42vmin;
height: 88vmin;
top: 11vmin;
transition-origin: top center;
animation: revealpath 15s linear infinite;
background:
radial-gradient(ellipse, $blue 1.25vmin, $white 1.25vmin, $white 1.75vmin, transparent 1.75vmin ) calc(#{$box-w} + 7vmin) calc(#{$box-h} + 17vmin) / 4vmin 4vmin no-repeat,
//dots
radial-gradient(ellipse, $blue .6vmin, darken($blue, 15%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 9vmin) calc(#{$box-h} + 19vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 10.5vmin) calc(#{$box-h} + 20.5vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 11.75vmin) calc(#{$box-h} + 22.25vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 12vmin) calc(#{$box-h} + 24.3vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 14vmin) calc(#{$box-h} + 24.3vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 16vmin) calc(#{$box-h} + 24.3vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 16vmin) calc(#{$box-h} + 26.3vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 16vmin) calc(#{$box-h} + 28.3vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 16vmin) calc(#{$box-h} + 30.3vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 16vmin) calc(#{$box-h} + 32.3vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 16vmin) calc(#{$box-h} + 34.3vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 16vmin) calc(#{$box-h} + 36.3vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 16vmin) calc(#{$box-h} + 38.3vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 16vmin) calc(#{$box-h} + 40.3vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 14.5vmin) calc(#{$box-h} + 41.55vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 13.5vmin) calc(#{$box-h} + 43.25vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 13.25vmin) calc(#{$box-h} + 45.25vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 13.25vmin) calc(#{$box-h} + 47.25vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 13.25vmin) calc(#{$box-h} + 49.25vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 13.25vmin) calc(#{$box-h} + 51.25vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 13.25vmin) calc(#{$box-h} + 53.25vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 13.25vmin) calc(#{$box-h} + 55.25vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 13.25vmin) calc(#{$box-h} + 57.25vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 13.25vmin) calc(#{$box-h} + 59.25vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 13.25vmin) calc(#{$box-h} + 61.25vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 13.25vmin) calc(#{$box-h} + 63.25vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 13.25vmin) calc(#{$box-h} + 65.25vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 13.25vmin) calc(#{$box-h} + 67.25vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 13.25vmin) calc(#{$box-h} + 69.25vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 12.25vmin) calc(#{$box-h} + 71vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 11vmin) calc(#{$box-h} + 72.5vmin) / 4vmin 4vmin no-repeat,
radial-gradient(ellipse, $blue .6vmin, darken($blue, 10%) .6vmin, darken($blue, 10%) 1vmin, transparent 1vmin ) calc(#{$box-w} + 9.5vmin) calc(#{$box-h} + 73.5vmin) / 4vmin 4vmin no-repeat,
linear-gradient(-115deg, $red 2vmin, darken($red, 10%) 2vmin, darken($red, 10%) 2.5vmin, transparent 1vmin ) calc(#{$box-w} + 5vmin) calc(#{$box-h} + 70.25vmin) / 5vmin 5vmin no-repeat,
linear-gradient(115deg,$red 2vmin, darken($red, 10%) 2vmin, darken($red, 10%) 2.5vmin, transparent 1vmin ) calc(#{$box-w} + 10vmin) calc(#{$box-h} + 70.25vmin) / 5vmin 5vmin no-repeat,
radial-gradient(ellipse, $white 1vmin, darken($red, 10%) 1vmin, darken($red, 10%) 1.5vmin, $red 1.5vmin, $red 2.5vmin, darken($red, 10%) 2.5vmin, darken($red, 10%) 3vmin, transparent 1vmin ) calc(#{$box-w} + 7vmin) calc(#{$box-h} + 66vmin) / 6vmin 6vmin no-repeat,
}
@keyframes revealpath {
0% {
height: 0vmin;
}
20% {
height: 88vmin;
}
}
/* Greg Robleto
cssartstudio.com */
Also see: Tab Triggers