Cambarus Inc.
|
To view an example, copy and paste the CSS script and HTML from an example below into a text editor and view as HTML.
An example HTML document structure is provided here.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title></title>
<meta http-equiv="content-type"
content="text/html;charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<style type="text/css">
* Paste CSS Script here *
</style>
</head>
<body>
* Paste HTML here *
</body>
</html>
.a{width: 500px;background-color: Lavender;}.b{float: left;width: 500px;margin: 0 -100% 0 0;background-color: gray;}.c{width: 370px;margin: 0 0 0 130px;background-color: Lavender;}.d{width: 130px;background-color: gray;}<div class="a">
<div class="b">
<div class="c">Content body column.</div>
</div>
<div class="d">Left column.</div>
</div>
.f select{color: #666666;}.f optgroup{color: #0860a8;background-color: #ebebeb;}.f option{background-color: #ffffff;}<form class="f">
<select>
<optgroup label="List 1">
<option>option 1</option>
<option>option 2</option>
</optgroup>
<optgroup label="List 2">
<option>option 3</option>
<option>option 4</option>
</optgroup>
</select>
</form>
.fs,.fson{padding: 3px 10px;border: 0;}.fs{background-color: #a2cce5;color: #0D3B66;}.fson{background-color: #0D3B66;color: #F0F240;}<form>
<input type="submit" class="fs" onmouseover="this.className='fson';"
value="submit" onmouseout="this.className='fs';" />
</form>
.a{background: transparent;margin: 0 1em;position: relative;}.a cite{margin: 0 5px;letter-spacing: 1px;padding-bottom: 0.5em;line-height: 15px;height: 15px;font-size: 12px;}
.b,.h{display: block;background: transparent;font-size: 1px;}.c,.d,.e,.f{display: block;overflow: hidden;}.c,.d,.e{height: 1px;}.d,.e,.f{background-color: #e6e6e6;border-left: 1px solid #bababa;border-right: 1px solid #bababa;}
.c{margin: 0 5px;background-color: #bababa;}.d{margin: 0 3px;border-width: 0 2px;}.e{margin: 0 2px;}.f{height: 2px;margin: 0 1px;}.g{background-color: #e6e6e6;border-style: solid;border-color: #bababa;display: block;border-top-color: #e6e6e6;border-width: 1px 1px 0 1px;}
<div class="a">
<b class="b">
<b class="c"></b>
<b class="d"></b>
<b class="e"></b>
<b class="f"></b>
</b>
<div class="g">
<cite>This text is inside a pure-CSS round box.</cite>
</div>
<b class="h">
<b class="f"></b>
<b class="e"></b>
<b class="d"></b>
<b class="c"></b>
</b>
</div>
(Thank you cssplay.co.uk)
#filterFontBox{width: 150px;height: 150px;position: relative;}.filter{background: transparent;z-index: 1;filter: alpha(opacity=50);filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);
-moz-opacity: 0.50;opacity:0.5;font-size: 300px;}
.filterFontRed{font-size: 200px;font-weight: bold;position: absolute;top: -58px;left: 20px;color: #F90606;}
.filterFontBlue{position: absolute;top:-90px;left:-12px;color:#053a65;}.filterFontGreen{position: absolute;top:-90px;left:-12px;color:#73F22D;}<div id="filterFontBox">
<div class="filterFontRed filter">o</div>
<div class="filterFontBlue filter"><</div>
<div class="filterFontGreen filter">></div>
</div>
(Thank you cssplay.co.uk)