Today's challenge is to create a die face using the following HTML.
Code html:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Dicey Challenge</title> <style type="text/css"> </style> </head> <body> <div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> </div> </body> </html>
You will need to set the containing box to position relative, then absolutely position the six child divs within it and user border radius to transform them into circles. Your result should look something like this...
testRender.png
Advanced Level Challenge
Using 3D transforms, present three sides of the die. You may modify the HTML as needed.
Expert Level Challenge
Spin the die 360 degrees on :hover.
I'll post the answer to the beginner level challenge on Friday. Other answers should be masked with spoilers using the following syntax
[code][spoiler]
Your solution goes here
[/spoiler][/code]




Reply With Quote
Bookmarks