alozuldo


Member since 09/10/2010

Name: Alvin Negron

Location: Puerto Rico

Website: www.alozuldo.blogspot.com

8 snippets

2310 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

alozuldo's Recent CSS Snippets



« Prev 1 Next »
1 571 posted 13 years ago by alozuldo
Of course, you don't have to set the width to 50%. Any width less than the containing div will work. The margin: auto is what does the actual centering.
1 715 posted 13 years ago by alozuldo
If you would like to use relative units (em) for your font sizes, declaring 62.5% for the font-size property of the body will make it easier to convert px to em. By doing it this way, converting to em is a matter of dividing the px value by 10 (e.g....
3 797 posted 13 years ago by alozuldo
For progressive enhancement, you could use the transform property that is supported by many browsers that have CSS3 support. Here’s a trick for enlarging a elements on hover by 110%.
1 637 posted 13 years ago by alozuldo
The code below will change the background-color of divs depending on what browser the user is viewing the web page under. Since * cascades down to IE7 and below, we use _ after that declaration so that IE6 (and below) has a different background color...
1 729 posted 13 years ago by alozuldo
3 658 posted 13 years ago by alozuldo
1 579 posted 13 years ago by alozuldo
« Prev 1 Next »