Commit b6e9d51d authored by Aral Balkan's avatar Aral Balkan

Added test for #1. Fixes #1.

parent a6e286b5
/* line 144 : stdin */
/* line 150 : stdin */
/* line 1 : /Users/aral/Ind.ie/products/site/source/assets/stylus/indie-style-core/responsive-pixels/node_modules/stylus/lib/functions/index.styl */
......@@ -236,6 +236,12 @@ h2 {
}
/* line 142 : stdin */
#test-background-size-one-hundred-percent {
background-image: linear-gradient(90deg, transparent 50%, rgba(255,255,255,0.5) 50%);
background-size: 100%;
}
/* line 148 : stdin */
#test-bang-important {
width: 100px !important;
width: 6.25rem !important;
......
......@@ -92,6 +92,7 @@
<div id='test-background-size' data-assert='background-size: 500px 500px'>background-size 500px 500px</div>
<div id='test-background-size-cover' data-assert='background-size: cover'>background-size cover</div>
<div id='test-background-size-contain' data-assert='background-size: contain'>background-size contain</div>
<div id='test-background-size-one-hundred-percent' data-assert='background-size: 100%'>background-size 100%</div>
</section>
<section>
<h2>!imporant</h2>
......
......@@ -138,8 +138,12 @@ h2
background-image linear-gradient(90deg, transparent 50%, rgba(255,255,255,.5) 50%)
background-size contain
// !important
// https://source.ind.ie/project/responsive-pixels/issues/1
#test-background-size-one-hundred-percent
background-image linear-gradient(90deg, transparent 50%, rgba(255,255,255,.5) 50%)
background-size 100%
// https://source.ind.ie/project/responsive-pixels/issues/3
#test-bang-important
width 100px !important
width 500px
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment