<div class="container">
<div class="container-fluid">
<div class="columns is-centered">
<div class="column is-6 menubar scaleup">
<a class="menu">Home</a>
<a class="menu">Gallery</a>
<a class="menu">Portfolio</a>
<a class="menu">Contact</a>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div class="columns is-centered">
<div class="column is-10">
<h1 class="center-text head text-expand">Freespirit</h1>
<h2 class="center-text body fade-in">Freespirit</h2>
</div>
</div>
</div>
$background: #d4b483;
$pink: #c1666b;
$blue: #214158;
$white: #e4dfda;
$green: #48a9a6;
@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400|Lora");
$sans-serif: "Open Sans", sans-serif;
$serif: "Lora", serif;
body {
background: url("https://png.pngtree.com/element_origin_min_pic/16/10/23/ae0a4e36ba2126c47253f351d1a95bbf.jpg");
height: 100vh;
}
.menubar {
background: transparent;
width: 100%;
height: 100%;
text-align: center;
margin-top: 5%;
}
.menu {
color: $blue;
font-family: $serif;
font-size: 1.3em;
margin-left: 5%;
letter-spacing: 0.1em;
font-weight: 900;
//border hover
display: inline-block;
color: $blue;
text-decoration: none;
&:hover {
color: $pink;
}
}
.menu::after {
content: "";
display: block;
width: 0;
height: 2px;
background: $blue;
transition: width 0.4s;
}
.menu:hover::after {
width: 100%;
//transition: width .3s;
}
.head {
letter-spacing: 0.1em;
font-size: 2.7em;
font-family: $serif;
text-align: center;
}
.body {
letter-spacing: 0.1em;
font-size: 2em;
font-family: $sans-serif;
text-align: center;
}
.body2 {
letter-spacing: 0.1em;
font-size: 1.5em;
font-family: $sans-serif;
text-align: center;
}
.boxstyle {
border-radius: 100%;
object-fit: cover;
height: 300px;
box-shadow: 2px 2px 10px 0 rgba(#333, 0.4);
}
//css animation text
.text-expand {
-webkit-animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.61, 0.355, 1)
both;
animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.61, 0.355, 1) both;
}
@-webkit-keyframes tracking-in-expand {
0% {
letter-spacing: -0.5em;
opacity: 0;
}
40% {
opacity: 0.6;
}
100% {
opacity: 1;
}
}
@keyframes tracking-in-expand {
0% {
letter-spacing: -0.5em;
opacity: 0;
}
40% {
opacity: 0.6;
}
100% {
opacity: 1;
}
}
//css animation
.fade-in {
-webkit-animation: text-focus-in 1s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
animation: text-focus-in 1s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}
@-webkit-keyframes text-focus-in {
0% {
-webkit-filter: blur(12px);
filter: blur(12px);
opacity: 0;
}
100% {
-webkit-filter: blur(0px);
filter: blur(0px);
opacity: 1;
}
}
@keyframes text-focus-in {
0% {
-webkit-filter: blur(12px);
filter: blur(12px);
opacity: 0;
}
100% {
-webkit-filter: blur(0px);
filter: blur(0px);
opacity: 1;
}
}
//css animation menubar
.scaleup {
-webkit-animation: scale-up-center 0.6s cubic-bezier(0.39, 0.575, 0.565, 1)
both;
animation: scale-up-center 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}
@-webkit-keyframes scale-up-center {
0% {
-webkit-transform: scale(0.5);
transform: scale(0.5);
}
100% {
-webkit-transform: scale(1);
transform: scale(1);
}
}
@keyframes scale-up-center {
0% {
-webkit-transform: scale(0.5);
transform: scale(0.5);
}
100% {
-webkit-transform: scale(1);
transform: scale(1);
}
}
View Compiled
//http://animista.net/
// background: https://images.unsplash.com/photo-1503416858304-41dc04946371?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=800&q=80"
//https://www.pinterest.jp/pin/440226932306065139/
This Pen doesn't use any external JavaScript resources.