Skip to content

Commit

Permalink
add values and composes example to style
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniele Bertella committed May 24, 2016
1 parent c083247 commit 6016f19
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions client/components/App/style.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

@value L: 0.5em 2em;
@value S: 0.5em 1em;

html,
body {
margin: 0;
Expand Down Expand Up @@ -48,9 +51,20 @@ input[type="checkbox"] {
justify-content: center;
min-height: 600px;
}
.button {

.btn-base {
position: absolute;
right: 0;
padding: 0.5em 1em;
padding: S;
background: gold;
}

.button {
composes: btn-base;
}

@media (min-width: 1024px) {
.btn-base {
padding: L;
}
}

0 comments on commit 6016f19

Please sign in to comment.