Making Repeatable Background Stripes
Tuesday, February 14, 2012 10:26 PM
Last week I was looking for a way to create a background of alternating colored stripes for an entire web page or element. I needed to be able to easily change the colors so I wanted to do it with CSS and not images, but without adding a bunch of extra DIVs (which wouldn’t have worked anyway). I looked into gradients, but without knowing how tall the display area was, that wouldn’t work either. Plus, a gradient of that size would be hugely resource intensive. That’s when I remembered SVG.
- Mobile Safari Crashes with CSS Transition and Calc()
- Speaking Out
- The Future
- Transitioning to In-House
- Random PHP Password Generator
- Making Repeatable Background Stripes
- Frustrated? No.
- Dumb Hackers
- Typekit Goes to Adobe
- Help with OAuth (in PHP)
Saved for Posterity
Curious What I'm Doing These Days?