Skip to content

Commit

Permalink
Using bourbon mixins for flexbox support.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelcunningham19 committed Aug 9, 2016
1 parent db69462 commit 62c1754
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/plugins/poster/public/poster.scss
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
@import "bourbon";

.player-poster[data-poster] {
@include display(flex);
@include justify-content(center);
@include align-items(center);
position: absolute;
height: 100%;
width: 100%;
z-index: 998;
top: 0;
left: 0;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
background-color: #000;
background-size: cover;
background-repeat: no-repeat;
Expand Down

0 comments on commit 62c1754

Please sign in to comment.