Useful css classes

I’d like to share some css classes I often use in my projects. I will update this classes accordingly.

.marginetop{margin:15px 0 0 0}
.margineleft{margin:0 0 0 15px}
.marginebottom{margin:0 0 15px 0}
.margineright{margin:0 15px 0 0}

.nascondi{display:none}
.pulisci{clear:both}

.corsivo{font-style:italic}
.grassetto{font-weight:bold}
.sx{float:left}
.dx{float:right}
.centra{margin:0 auto; text-align:center}

.googlemap{
border:1px solid #f7931d;
overflow:hidden}

a[href$='.pdf'] {
    padding-right: 18px;
    background: transparent url(/images/icon_pdf.gif) no-repeat center right;
}
This entry was posted in css, web design and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>