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="gb_body">
<div class="screen">
<div class="screen-cover--top-left">
</div>
<div class="screen-cover--top-right">
</div>
<div class="power">
<div class="light"></div>
<p>POWER</p>
</div>
<div class="screen_main"></div>
</div>
<div class="screen-cover--left"></div>
<div class="btm">
<div class="text">Nintendo</div>
<div class="middle"></div>
<div class="btns">
<div class="button_dpad">
<div class="inner">
<div class="up_down">
<div class="u">
<i class="fas fa-caret-up"></i>
</div>
<div class="d">
<i class="fas fa-caret-down"></i>
</div>
</div>
<div class="left_right">
<div class="r">
<i class="fas fa-caret-right"></i>
</div>
<div class="left">
<i class="fas fa-caret-left"></i>
</div>
</div>
</div>
</div>
<div class="btns_circle">
<div class="btns_circle_left">
<h1>B</h1>
</div>
<div class="btns_circle_right">
<h1>A</h1>
</div>
</div>
<div class="btns_btm">
<div class="btns_left"></div>
<div class="btns_right"></div>
</div>
</div>
<div class="speaker"></div>
</div>
<div class="cover--left"></div>
<div class="cover--right"></div>
</div>
<!-- <div id="name">
<a href="https://twitter.com/KassandraSanch" target="_blank">@KassandraSanch</a>
</div> -->
$t: transparent;
$bk: #fff;
$p: #ff1654;
$w: #e9e9e7;
@mixin for-phone-only {
@media (max-width: 599px) {
@content;
}
}
@mixin for-tablet-portrait-up {
@media (max-width: 600px) {
@content;
}
}
@mixin for-tablet-landscape-up {
@media (min-width: 900px) {
@content;
}
}
*{
box-sizing: border-box;
}
body {
// font-size: 1.6vmin;
font-size:9px;
background: $bk;
background-size: 320px;
background-repeat: no-repeat;
display: flex;
justify-content:center;
align-items: center;
width: 100vw;
height: 100vh;
@include for-phone-only {
font-size: 7px;
}
#name{
@include for-tablet-portrait-up {
left: -5%;
font-size: 3.3em;
}
font-size: 2.8em;
font-family: 'Pacifico', cursive;
position: absolute;
left: 25%;
top:50%;
transform: rotate(270deg);
a{
color: #44a5f7;
text-decoration: none;
text-shadow: 1px 1px #000;
}
}
.btns_top {
z-index: 5;
position: absolute;
left: 0%;
top: 0%;
}
}
.gb_body {
&:before{
top:0%;
left:50%;
transform:translatex(-50%);
border:2px solid rgba(#000,.2);
content: '';
position:absolute;
width:100.3%;
height:95%;
// background:lime;
border-radius:1.5em;
border-bottom-left-radius:8em;
border-bottom-right-radius:8em;
z-index: -1;
box-shadow:
0px -2px 3px rgba(0, 0, 0, 0.1),
0px 0px 1.2em 1em rgba(#000,.1),
0px 0px 1.5em 2.5em rgba(#000,.05),
;
}
.cover--left{
width:7.4em;
height:2em;
position:absolute;
bottom:-1.4em;
border-top-right-radius:5em;
background:$bk;
background:$bk;
}
.cover--right{
width:7.4em;
height:2em;
position:absolute;
bottom:-1.4em;
right:0;
border-top-left-radius:5em;
background:$bk;
}
width: 32em;
height: 55.1em;
position: relative;
background:
// TOP CORNERS
// corner left
radial-gradient(240% 240% at 100% 100%, $t 49%, #CFCFCF 50%) 0 0 / 2em 2em,
// corner right
radial-gradient(240% 240% at 0% 100%, $t 49%, #CFCFCF 50%) 100% 0 / 2em 2em,
// BTM CORNERS
// sm
radial-gradient(130% 150% at 0% 0%, rgba($t, 0) 75%, rgba($bk, 1) 76%)
30em 51em / 2em 2em,
// corner left
radial-gradient(283% 202% at 00% 0%, rgba($t, 0) 49%, rgba($bk, 1) 50%)
100% 100% / 10em 10em,
// corner right
// sm
radial-gradient(130% 150% at 100% 0%, rgba($t, 0) 75%, rgba($bk, 1) 76%)
0em 51em / 2em 2em,
radial-gradient(283% 202% at 100% 0%, rgba($t, 0) 49%, rgba($bk, 1) 50%) 0
100% / 10em 10em,
// END BTM CORNERS
linear-gradient(
to left,
rgba($w,1),
rgba(#d1d1cf,.1)
) 0% 0% / 4.8em 100%,
linear-gradient(
to left,
rgba($w,1),
rgba(#d1d1cf,.1)
) 100% 0% / 4.8em 100%,
rgba($w, 1)
;
background-repeat: no-repeat;
.screen{
&:after{
content:'';
background:pink;
border-top-right-radius:2em;
width:1.5em;
height:5em;
// border:2px solid orange;
position:absolute;
top:23.8em;
left:-.5em;
background:#E7E7E5;
background:#E7E7E5;
}
&:before{
content:'';
background:pink;
border-top-left-radius:2em;
width:1.5em;
height:5em;
// border:2px solid orange;
position:absolute;
top:23.8em;
right:-.5em;
background:#E7E7E5;
background:#E7E7E5;
}
z-index: 3;
width: 28.3em;
height: 25.6em;
position: absolute;
top: 2em;
left: 50%;
transform: translate(-50%,0);
background:
// // corners
// // TOP CORNERS
// corner left
radial-gradient(230% 230% at 100% 100%, $t 49%, $w 50%) 0 0 / 2em 2em,
// // corner right
radial-gradient(230% 230% at 0% 100%, $t 49%, $w 50%) 100% 0 / 2em 2em,
// // BTM CORNERS
// sm corner left
radial-gradient(200% 200% at 100% 0%, rgba($t, 0) 49%, rgba($w, 1) 50%)
0% 96.5% / 2em 2em,
// // sm corner right
radial-gradient(200% 200% at 0% 0%, $t 49%, $w 50%) 100% 96.5% / 2em 2em,
// // lg corner left
radial-gradient(400% 204% at 00% 0%, rgba($t, 0) 49%, rgba($w, 1) 50%)
100% 100% / 10em 10em,
// // lg corner right
radial-gradient(400% 204% at 100% 0%, rgba($t, 0) 49%, rgba($w, 1) 50%) 0
100% / 10em 10em,
// main back
linear-gradient(
rgba(#272727, 1),
rgba(#141414, 1))
50% 50% / 100%,
;
background-repeat: no-repeat;
.screen-cover--top-left{
width:1em;
height:1em;
position:relative;
border-radius:1.5em;
top:-.5em;
left:-.5em;
background:#E9E9E7;
}
.screen-cover--top-right{
width:1em;
height:1em;
position:absolute;
border-radius:1.5em;
top:-.5em;
right:-.5em;
background:#E9E9E7;
}
.power{
.light{
animation: blink-animation 1.5s steps(5, start) infinite;
-webkit-animation: blink-animation 1.5s steps(5, start) infinite;
width:.9em;
height:.9em;
border-radius:50%;
// border:1px solid red;
position:relative;
top:0em;
left:.68em;
background:#232323;
}
width:5em;
height: 3em;
position:absolute;
left: 0%;
top: 7.5em;
font-family: verdana;
color: #fff;
background:
// red light
radial-gradient(100% 100% at 50% 50%, rgba(#fff, .3) 47%, rgba($t, 0) 50%) 1em
.3em / .3em .3em,
radial-gradient(100% 100% at 50% 50%, rgba(#FF0D33, 1) 47%, rgba($t, 0) 50%) .7em
.1em / .8em .8em,
// end red light
// WHITE HALF MOONS
radial-gradient(
circle at 0% 50%,
$t .3em,
#fff,
$t .6em,
)
3.4em .1em / .8em .8em,
radial-gradient(
circle at 0% 50%,
$t .3em,
#fff,
$t .6em,
)
2.7em .1em / .8em .8em,
radial-gradient(
circle at 0% 50%,
$t .3em,
#fff,
$t .6em,
)
2em .1em / .8em .8em,
// END WHITE HALF MOONS
;
background-repeat: no-repeat;
p{
font-size: .8em;
position: absolute;
top: 2em;
left: 50%;
transform:translate(-50%,0);
}
}
.screen_main{
width: 19em;
height: 17em;
position: absolute;
box-shadow: inset 2px 5px 3px 3px #000;
left: 50%;
top: 3em;
transform: translate(-50%,0%);
background:
linear-gradient(
rgba(#272727, 1),
rgba(#141414, 1))
50% 50% / 100%,
;
;
background-repeat: no-repeat;
}
}
.btm{
.text{
z-index:6;
border: 2px solid rgba(#b9b9b8,.7);
text-shadow: 1px 1px rgba(#b9b9b8,.7);
// box-shadow: 1px 1px rgba(#b9b9b8,.0);
font-weight: bold;
font-family: verdana;
color: #E8E8E6;
position: absolute;
font-size: 1.4em;
top:53.5%;
left: 50%;
transform:translate(-50%,0);
position: absolute;
text-align:center;
padding: 3px;
border-radius: 35%;
}
.middle{
z-index: 4;
width: 22em;
height: 23em;
// border: 2px solid $p;
position: absolute;
top: 48%;
left: 50%;
transform: translate(-50%, 0);
background:
radial-gradient(100% 100% at 50% 0%, rgba(#141414, 1) 47%, rgba($t, 0) 50%)
50% 0% / 27em 2.7em,
// // lg corner left
radial-gradient(400% 202% at 00% 0%, rgba($t, 0) 49%, rgba($w, 1) 50%)
100% 100% / 10em 10em,
// // lg corner right
radial-gradient(400% 202% at 100% 0%, rgba($t, 0) 49%, rgba($w, 1) 50%) 0
100% / 10em 10em,
linear-gradient(
rgba(#fff,.8),
rgba(#fff,.8)
)
;
background-repeat: no-repeat;
}
.btns{
.btns_circle{
div{
width: 4.3em;
height: 4.3em;
position: absolute;
border: 2px solid #000;
border-radius: 50%;
color: #000;
background:
radial-gradient(100% 100% at 50% 90%, rgba($t, .0) 46%, rgba($w, .4) 50%)
50% -1.4em / 110% 4em,
linear-gradient(
#3A3839, #191718
);
background-repeat: no-repeat;
z-index: 5;
h1{
position: absolute;
top: 18%;
left: 18%;
font-size: 2.5em;
font-family: arial;
}
}
.btns_circle_left{
left: 61%;
top: 64%;
}
.btns_circle_right{
left: 79%;
top: 60.5%;
}
}
.btns_btm{
z-index: 5;
width: 9em;
height: 1.6em;
top: 44.4em;
left: 50%;
transform: translate(-50%, 0);
position: absolute;
display: flex;
justify-content:space-between;
div{
border-radius: 10px;
background:
linear-gradient(
rgba($t,.2) 14%,
rgba(#fff,.5) 15%,
rgba($t,.2) 50%
),
#302F33;
border: 1.5px solid #000;
width: 3.5em;
background-repeat: no-repeat;
text-shadow: 1px 1px rgba(#b9b9b8,.7);
font-weight: bold;
font-family: verdana;
color: #E8E8E6;
}
.btns_left{
&:after{
width: 50%;
content: 'SELECT';
position: absolute;
top: 1.9em;
left: -.5em;
text-align:center;
}
}
.btns_right{
&:after{
width: 50%;
content: 'START';
position: absolute;
top: 1.9em;
left: 5em;
text-align:center;
}
}
}
}
.speaker{
z-index: 6;
transform:rotate(-5deg);
width: 8em;
height: 8em;
position: absolute;
top: 45em;
left: 22.5em;
background:
// top row
radial-gradient(100% 100% at 50% 50%, rgba(#232323, 1) 49%, rgba($bk, 0) 50%)
5.2em 0 / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#d0d0cf, 1) 49%, rgba($bk, 0) 50%)
4.3em 0 / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#232323, 1) 49%, rgba($bk, 0) 50%)
3.5em 0 / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#d0d0cf, 1) 49%, rgba($bk, 0) 50%)
2.5em 0 / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#232323, 1) 49%, rgba($bk, 0) 50%)
1.5em 0 / .6em .6em,
// end top row
// 2nd row
radial-gradient(100% 100% at 50% 50%, rgba(#232323, 1) 49%, rgba($bk, 0) 50%)
.5em 1em / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#d0d0cf, 1) 49%, rgba($bk, 0) 50%)
1.5em 1em / .6em .6em, radial-gradient(100% 100% at 50% 50%, rgba(#232323, 1) 49%, rgba($bk, 0) 50%)
2.5em 1em / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#d0d0cf, 1) 49%, rgba($bk, 0) 50%)
3.5em 1em / .6em .6em, radial-gradient(100% 100% at 50% 50%, rgba(#232323, 1) 49%, rgba($bk, 0) 50%)
4.5em 1em / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#d0d0cf, 1) 49%, rgba($bk, 0) 50%)
5.5em 1em / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#232323, 1) 49%, rgba($bk, 0) 50%)
6.5em 1em / .6em .6em,
// end 2nd row
// 3rd row
radial-gradient(100% 100% at 50% 50%, rgba(#d0d0cf, 1) 49%, rgba($bk, 0) 50%)
.5em 2em / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#232323, 1) 49%, rgba($bk, 0) 50%)
1.5em 2em / .6em .6em, radial-gradient(100% 100% at 50% 50%, rgba(#d0d0cf, 1) 49%, rgba($bk, 0) 50%)
2.5em 2em / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#232323, 1) 49%, rgba($bk, 0) 50%)
3.5em 2em / .6em .6em, radial-gradient(100% 100% at 50% 50%, rgba(#d0d0cf, 1) 49%, rgba($bk, 0) 50%)
4.5em 2em / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#232323, 1) 49%, rgba($bk, 0) 50%)
5.5em 2em / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#d0d0cf, 1) 49%, rgba($bk, 0) 50%)
6.5em 2em / .6em .6em,
// end 3rd row
// 4th row
radial-gradient(100% 100% at 50% 50%, rgba(#232323, 1) 49%, rgba($bk, 0) 50%)
.5em 3em / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#d0d0cf, 1) 49%, rgba($bk, 0) 50%)
1.5em 3em / .6em .6em, radial-gradient(100% 100% at 50% 50%, rgba(#232323, 1) 49%, rgba($bk, 0) 50%)
2.5em 3em / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#d0d0cf, 1) 49%, rgba($bk, 0) 50%)
3.5em 3em / .6em .6em, radial-gradient(100% 100% at 50% 50%, rgba(#232323, 1) 49%, rgba($bk, 0) 50%)
4.5em 3em / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#d0d0cf, 1) 49%, rgba($bk, 0) 50%)
5.5em 3em / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#232323, 1) 49%, rgba($bk, 0) 50%)
6.5em 3em / .6em .6em,
// end 4th row
// 5th row
radial-gradient(100% 100% at 50% 50%, rgba(#d0d0cf, 1) 49%, rgba($bk, 0) 50%)
.5em 4em / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#232323, 1) 49%, rgba($bk, 0) 50%)
1.5em 4em / .6em .6em, radial-gradient(100% 100% at 50% 50%, rgba(#d0d0cf, 1) 49%, rgba($bk, 0) 50%)
2.5em 4em / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#232323, 1) 49%, rgba($bk, 0) 50%)
3.5em 4em / .6em .6em, radial-gradient(100% 100% at 50% 50%, rgba(#d0d0cf, 1) 49%, rgba($bk, 0) 50%)
4.5em 4em / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#232323, 1) 49%, rgba($bk, 0) 50%)
5.5em 4em / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#d0d0cf, 1) 49%, rgba($bk, 0) 50%)
6.5em 4em / .6em .6em,
// end 5th row
// 6th row
radial-gradient(100% 100% at 50% 50%, rgba(#232323, 1) 49%, rgba($bk, 0) 50%)
.5em 5em / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#d0d0cf, 1) 49%, rgba($bk, 0) 50%)
1.5em 3em / .6em .6em, radial-gradient(100% 100% at 50% 50%, rgba(#232323, 1) 49%, rgba($bk, 0) 50%)
2.5em 5em / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#d0d0cf, 1) 49%, rgba($bk, 0) 50%)
3.5em 5em / .6em .6em, radial-gradient(100% 100% at 50% 50%, rgba(#232323, 1) 49%, rgba($bk, 0) 50%)
4.5em 5em / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#d0d0cf, 1) 49%, rgba($bk, 0) 50%)
5.5em 5em / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#232323, 1) 49%, rgba($bk, 0) 50%)
6.5em 5em / .6em .6em,
// end 6th row
// 7th row
radial-gradient(100% 100% at 50% 50%, rgba(#232323, 1) 49%, rgba($bk, 0) 50%)
5.2em 6em / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#d0d0cf, 1) 49%, rgba($bk, 0) 50%)
4.3em 0em / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#232323, 1) 49%, rgba($bk, 0) 50%)
3.5em 6em / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#d0d0cf, 1) 49%, rgba($bk, 0) 50%)
2.5em 6em / .6em .6em,
radial-gradient(100% 100% at 50% 50%, rgba(#232323, 1) 49%, rgba($bk, 0) 50%)
1.5em 6em / .6em .6em,
// end 7th row
;
background-repeat: no-repeat;
}
}
}
.button_dpad{
z-index: 5;
width: 12em;
height: 12em;
position: absolute;
top: 69.2%;
left: 25.5%;
transform:translate(-50%,-50%);
justify-content: center;
align-items: center;
.inner{
position: relative;
width: 8.6em;
height: 8.6em;
border-radius: 50%;
// border:3px solid green;
i{
font-size: 3.2em;
color: #000;
position: absolute;
}
.left_right{
position: absolute;
top:50%;
left: 50%;
transform: translate(-50%,-50%);
width: 100%;
height:2.9em;
background:
// BTM
linear-gradient(
to right,
rgba($w,.2),
rgba($w,.2)
) 100% 100% / .2em 100%,
linear-gradient(
to right,
rgba(#d1d1cf,.0),
rgba($w,.2)
) 100% 100% / 2em 100%,
linear-gradient(
to right,
rgba($w,.2),
rgba(#d1d1cf,.0)
) 0% 100% / 2em 100%,
// END BTM
rgba(#282828,1);
border-radius: 8px;
border: 3px solid #000;
background-repeat:no-repeat;
.r{
i{
top: -.17em;
left: 2.05em;
}
}
.left{
i{
top: -.17em;
}
}
}
.up_down{
z-index: 5;
position: absolute;
top:50%;
left: 50%;
transform: translate(-50%,-50%);
width: 2.9em;
height:100%;
background: rgba(#282828,1);
border-radius: 8px;
border: 3px solid #000;
&:after{
content: '';
position:absolute;
width: 1.7em;
height: 1.7em;
background:
// radial-gradient(100% 100% at 50% 90%, rgba($t, .0) 46%, rgba($w, .4) 50%)
// 50% -1.4em / 110% 4em,
radial-gradient(100% 100% at 50% 10%,rgba($t,.5) 55%, rgba($w, .4) 60%, rgba($t, .4) 63%)
50% -1.2em / 140% 4em,
rgba(#000,1)
;
background-repeat: no-repeat;
top:50%;
left: 50%;
transform: translate(-50%,-50%);
border-radius: 50%;
}
&:before{
content: '';
border: 3px solid #282828;
position:absolute;
width: 100%;
height: 2.5em;
background: rgba(#282828,1);
top:50%;
left: 50%;
transform: translate(-50%,-50%);
}
div{
display: flex;
justify-content: center;
}
.u{
i{
top: -.2em;
}
}
.d{
z-index: 6;
width: 100%;
height: 100%;
background:
// BTM
linear-gradient(
rgba(#d1d1cf,.0),
rgba($w,.2)
) 0% 100% / 100% .2em,
linear-gradient(
rgba(#d1d1cf,.0),
rgba($w,.1)
) 0% 100% / 100% 2em,
// END BTM
// TOP
linear-gradient(
rgba($w,.5),
rgba(#d1d1cf,.0)
) 0% 0% / 100% .2em,
linear-gradient(
rgba($w,.3),
rgba(#d1d1cf,.0)
) 0% 0% / 100% 2em,
// END TOP
;
background-repeat: no-repeat;
i{
top: 1.5em;
}
}
}
}
}
@keyframes blink-animation {
to {
visibility: hidden;
}
}
@-webkit-keyframes blink-animation {
to {
visibility: hidden;
}
}
Also see: Tab Triggers