|
Helping ordinary people create extraordinary websites! |
Ajax Wireframing ApproachesBy Kevin Hale2007-11-23
Using Useful Class Names Before we get into any JavaScript, I want to talk about how we’re going to keep things simple. When I’m using the Stacking or TOP approaches, it is necessary for me to selectively hide and show certain elements so I can debug a design for the prototyping step. Instead of going in and changing the CSS property of an element every time I need to get at something underneath or below, I create a few useful CSS classes to streamline my workflow:
Then, whenever I need something out of my way, I just add a class of
Because of CSS specificity this rule will override the more generic
.hide class above whether it appears above or below the rule. No
Tutorial Pages: » Introduction » Keyframing » Stacking » Turn On Possibilities (TOP) » Using Useful Class Names » CSS Boolean |
|