Permalink
Browse files

updating 'isolation' test for isolate-grid mixin

  • Loading branch information...
barraq committed Apr 4, 2013
1 parent a82d31c commit 171343b75dedbb958009d9685d7b6ec34b56e262
Showing with 25 additions and 0 deletions.
  1. +21 −0 test/css/isolation.css
  2. +4 −0 test/scss/isolation.scss
View
@@ -23,3 +23,24 @@
.isolate-grid:nth-child(4n + 4) {
margin-left: 75.94937%;
}
+
+.isolate-grid-for-nth-of-type {
+ width: 24.05063%;
+ float: left;
+ margin-right: 1.26582%;
+ display: inline;
+ margin-right: -100%;
+}
+.isolate-grid-for-nth-of-type:nth-of-type(4n + 1) {
+ margin-left: 0%;
+ clear: left;
+}
+.isolate-grid-for-nth-of-type:nth-of-type(4n + 2) {
+ margin-left: 25.31646%;
+}
+.isolate-grid-for-nth-of-type:nth-of-type(4n + 3) {
+ margin-left: 50.63291%;
+}
+.isolate-grid-for-nth-of-type:nth-of-type(4n + 4) {
+ margin-left: 75.94937%;
+}
View
@@ -13,3 +13,7 @@
.isolate-grid {
@include isolate-grid(4,16);
}
+
+.isolate-grid-for-nth-of-type {
+ @include isolate-grid(4,16, 'of-type');
+}

0 comments on commit 171343b

Please sign in to comment.