JSFiddle - React, Tailwind, and code Playground
by lukemartin
HTML
<ul><li><span>Home</span></li><li><span>About</span></li><li><span>Portfolio</span></li></ul>
CSS
@font-face {
font-family: "LeagueGothicRegular";
src: url("http://luke.is/themes/site_themes/lukeis/fonts/League_Gothic-webfont.eot"), url("http://luke.is/themes/site_themes/lukeis/fonts/League_Gothic-webfont.woff") format("woff"), url("http://luke.is/themes/site_themes/lukeis/fonts/League_Gothic-webfont.ttf") format("truetype"), url("http://luke.is/themes/site_themes/lukeis/fonts/League_Gothic-webfont.svg") format("svg");
}
body {
background: #222;
padding: 100px 0 0 100px;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
}
li {
color: #efefef;
cursor: pointer;
display: block;
float: left;
font-family: "LeagueGothicRegular";
font-size: 2em;
letter-spacing: 0.05em;
text-transform: uppercase;
padding: 0 0 20px 0;
margin-right: 20px;
/*background-image: -webkit-radial-gradient(center bottom, circle, white 0%, black 50%);
background-position: left bottom;*/
-webkit-transition: all .25s ease-out;
}
li span {
display: block;
float: left;
}
li span:after {
content: " ";
display: block;
width: 100%;
height: 20px;
background: red;
background-image: -webkit-radial-gradient(center, ellipse contain, pink 0%, #222 50%);
}
li:hover {
}