From the ‘Draft’ bin:
[CSS Gradients]
Blessed are they that give me ease to use gradient functions. You’ve probably noticed the border to my blog is a gradient color from black to blue. How did I do this? With a single line of pixels repeated over and over again to the bottom. It’s messy, static, and does not scale well when I try to make modifications.
Thankfully CSS is finally offering a system of gradients I can use. I jacked this example from a recent Ars Technica article on Firefox 3.6.
.button {
background: #729FCF
-moz-linear-gradient(bottom,
rgba(255, 255, 255, 0.45),
rgba(255, 255, 255, 0.25) 40%,
rgba(255, 255, 255, 0.0) 60%,
rgba(255, 255, 255, 0.10) 90%,
rgba(255, 255, 255, 0.50));
-moz-border-radius: 10px;
border: 2px solid #729FCF;
color: white;
height: 50px;
width: 180px;
text-shadow: black 1px 1px 1px;
line-height: 50px;
font-size: 23px;
font-weight: bold;
text-align: center;
}
So clean, so easy. Hopefully soon
[WebGL]
Not officially supported yet WebGL will allow developers to embed OpenGL in websites. In order to actually get WebGL working you need to first get Firefox 3.7 alpha (“MineField”)(not sure if IE, Chrome, or Opera have support yet). Next go to about:config and change webgl.enabled_for_all_sites to true.
If all is working this page should display a cube you can rotate.
[Felonious Monk?]
Not really, but apparently in Japan the monks are having a hard time attracting young minds to Buddhism. In an attempt to reach the youth culture one monk has opened up a bar/temple to serve up both drinks and Buddhist raps. Gimmick or not this is a clever idea. I’m curious if he has created something lasting or just another in a long line of memes.