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.
- Pack What You Value
- Taxes and Travel
- Becoming a Digital Nomad
- Side Project Motivation (part 2)
- Side Project Motivation (part 1)
- Back in Business
- The Spirit of Awards
- Mobile Safari Crashes with CSS Transition and Calc()
- Speaking Out
- The Future
Saved for Posterity
Curious What I'm Doing These Days?