]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Added better styling to sticky callouts with anchors visual test
authorColin Marshall <colin.michael.marshall@gmail.com>
Mon, 25 Apr 2016 18:54:59 +0000 (12:54 -0600)
committerColin Marshall <colin.michael.marshall@gmail.com>
Mon, 25 Apr 2016 18:54:59 +0000 (12:54 -0600)
test/visual/sticky/anchors-with-callouts.html

index e228245de570d6f441344ea94ef21d8c2d7c4aa1..a9532ab1891a8ad6fc7da42a69c74210cff8e6fe 100644 (file)
@@ -9,8 +9,15 @@
     body {
       background-color: darkgrey;
     }
+
+    .sticky-container {
+      background-color: #f00;
+      transition: height .5s ease;
+    }
+
     .foo {
       height: 30rem;
+      color: white;
     }
 
     .foo h1 {
 
     .foo:nth-child(odd) {
       background-color: lightgreen;
-      color: white;
     }
 
     .foo:nth-child(even) {
       background-color: lightblue;
-      color: white;
     }
 
   </style>