-
Notifications
You must be signed in to change notification settings - Fork 18
Random
Anthony Short edited this page Aug 17, 2010
·
4 revisions
This is a simple extension that demonstrates hows to create your own CSS function. While it might be fun to use a random number in your CSS, I can’t think of many uses for it, especially since you’ll probably have the CSS cached.
This is a new CSS function that will create a random number between two other numbers:
#id
{
height:rand(100,200)px;
width:rand(300,350)px;
}Output:
#id
{
height:153px;
width:334px;
}This extension has no settings.
This extension has no hooks.