Skip to content

Commit

Permalink
made the heading invisible before animating
Browse files Browse the repository at this point in the history
 - sass added variables
  • Loading branch information
Raphael Brand committed May 19, 2017
1 parent 3d7a1a2 commit 46edc5c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions demo/app/sass/animation.sass
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$background: darken(darkblue, 20);

div.animated
display: inline
Expand All @@ -7,6 +8,7 @@ div.animated

div.animated.animating
opacity: 1
color: #ff0

.heading1
animation: animateHeading 1s 50ms infinite
Expand Down
5 changes: 3 additions & 2 deletions demo/app/sass/main.sass
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ body
font-size: 20px

.jumbotron
background-color: darken(darkblue, 20)
background-color: $background
margin-top: 2em
height: 8.7em
box-shadow: darkgray 0 2px 2px
Expand All @@ -18,4 +18,5 @@ body
left: 0
font-size: 1em
line-height: 0.8em
color: #ff0
color: $background
text-shadow: none

0 comments on commit 46edc5c

Please sign in to comment.