Forums

CSS stripes white/grey + grey/white

To make 2 blocks in row to be “white / grey” and the next row is “grey / white”
Cant make it when its 45% width, but its ok as its has to be, when 100% width.
My pain is here: http://cssdeck.com/labs/wmptd2wb.

No. Thats not it. If blocks are more then 4, then “bad things” are happening. So my needs are like chess board (black/white/black/white), but when in row only 2 blocks. See again http://cssdeck.com/labs/wmptd2wb

Tips

Categories

We have a pretty good* newsletter.

Email Address

CSS-Tricks* is created, written by, and maintained by Chris Coyier and a team of swell people. It is built on WordPress, hosted by Media Temple, and the assets are served by MaxCDN. The fonts are Source Sans Pro and Source Code Pro. It is made possible through sponsorships from products and services we like.