Created
January 13, 2015 20:41
-
-
Save mittnavnermike/0212bc341c7849c54a1c to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<header> | |
<div class="arrow"></div> | |
<div id="logo">Eastern Europe Group</div> | |
<div class="arrow"></div> | |
</header> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.9) | |
// Compass (v1.0.1) | |
// ---- | |
.arrow { | |
-webkit-animation: logo-arrow-move 2s ease infinite; | |
position: absolute; | |
left: 200px; | |
&:before { | |
content: " "; | |
display: inline-block; | |
width: 50px; | |
height: 5px; | |
background-color: black; | |
} | |
&:after { | |
content: " "; | |
display: inline-block; | |
border-top: 10px solid transparent; | |
border-bottom: 10px solid transparent; | |
border-left: 10px solid black; | |
} | |
} | |
#logo { | |
font: 20px/25px 'caxton', arial; | |
font-weight: bold; | |
width: 400px; | |
height: 100px; | |
position: relative; | |
padding-top: calc(50px - 12.5px); | |
&:before, &:after { | |
content: " "; | |
position: absolute; | |
display: block; | |
width: 20px; | |
height: 20px; | |
background-color: red; | |
} | |
&:before { | |
top: 0; | |
left: calc(35% - 10px); | |
-webkit-animation: logo-arrow-move 1s ease; | |
} | |
&:after { | |
bottom: 0; | |
left: calc(25% - 10px); | |
-webkit-animation: logo-arrow-move 1s 2s ease; | |
} | |
} | |
@-webkit-keyframes logo-arrow-move { | |
from { | |
-webkit-transform: translateX(-100px); | |
} | |
to { | |
-webkit-transform: translateX(0); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.arrow { | |
-webkit-animation: logo-arrow-move 2s ease infinite; | |
position: absolute; | |
left: 200px; | |
} | |
.arrow:before { | |
content: " "; | |
display: inline-block; | |
width: 50px; | |
height: 5px; | |
background-color: black; | |
} | |
.arrow:after { | |
content: " "; | |
display: inline-block; | |
border-top: 10px solid transparent; | |
border-bottom: 10px solid transparent; | |
border-left: 10px solid black; | |
} | |
#logo { | |
font: 20px/25px 'caxton', arial; | |
font-weight: bold; | |
width: 400px; | |
height: 100px; | |
position: relative; | |
padding-top: calc(50px - 12.5px); | |
} | |
#logo:before, #logo:after { | |
content: " "; | |
position: absolute; | |
display: block; | |
width: 20px; | |
height: 20px; | |
background-color: red; | |
} | |
#logo:before { | |
top: 0; | |
left: calc(35% - 10px); | |
-webkit-animation: logo-arrow-move 1s ease; | |
} | |
#logo:after { | |
bottom: 0; | |
left: calc(25% - 10px); | |
-webkit-animation: logo-arrow-move 1s 2s ease; | |
} | |
@-webkit-keyframes logo-arrow-move { | |
from { | |
-webkit-transform: translateX(-100px); | |
} | |
to { | |
-webkit-transform: translateX(0); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<header> | |
<div class="arrow"></div> | |
<div id="logo">Eastern Europe Group</div> | |
<div class="arrow"></div> | |
</header> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment