This repository has been archived by the owner on Mar 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update fixture to use grid * update expected css built from fixture * Add grid autoprefixing * ignore optional deps on travis
- Loading branch information
1 parent
205a042
commit 431cb77
Showing
4 changed files
with
41 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,23 @@ | ||
@mixin oTestComponent() { | ||
.o-test { | ||
font-size: 18px; | ||
|
||
display: grid; | ||
grid-template-columns: 1fr 1fr; | ||
grid-template-rows: 1fr; | ||
&--error { | ||
background-color: red; | ||
color: white; | ||
} | ||
} | ||
.test__content { | ||
grid-column: 1 / span 2; | ||
grid-row: 1; | ||
box-sizing: border-box; | ||
align-self: center; | ||
} | ||
.test__visual { | ||
grid-row: 1; | ||
} | ||
} | ||
|
||
@include oTestComponent; |