Showing posts with label CSS. Show all posts
Showing posts with label CSS. Show all posts

Sunday, April 10, 2011

horrible css today


<div class="heading18 width250 brdrbtm padbtm_10">Search for
Trainings</div>
<div class="gr10New width250 pad_top">
<strong class="bluetext11">
Search for Upcoming Teacher Training Programs
</strong></div>
<div class="pad_b3 width250 pad_top"><strong>Select Level:</strong></div>

Now look what you did; you broke the internet.

Sunday, December 6, 2009

CSS Challenge #3

No diagram for this.

The challenge is to define some CSS so that you can do basic math operations. I have a nice working example hidden away.

The specs are

class="number operator number"

where number is one of [one, two, three, four, five, six, seven, eight, nine]

and operator is either [plus, minus]

So that if you do
<div class='three plus eight' />

you'll see say, 11 squares or some other kind of unit.

Extra points if you can make negatives work too.

You ought to be able to do it in 12 definitions or less...

good luck!

CSS Challenge #2

Same HTML as #1, but the CSS must be within this:

div { /* You probably need at least this */ }
body{ /* and you can use this too */ }

CSS Challenge #1

So I give you the HTML, you give me the CSS:


<div style=border-color:lime />
<div style=border-color:yellow />
<div style=border-color:red />

Followers