Archive

Archive for the ‘CSS’ Category

Emulate border in css font

January 11, 2016 Leave a comment

.my-font-with-border{text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;}

Email template reset CSS styling

July 2, 2014 Leave a comment

            img {outline:none; text-decoration:none; -ms-interpolation-mode: bicubic;}
            a img {border:none;}
            .image_fix {display:block;}
            #backgroundTable {margin:0; padding:0; width:100% !important; line-height: 100% !important;}
            /* Client-specific Styles */
            #outlook a {padding:0;} /* Force Outlook to provide a "view in browser" menu link. */
            body{width:100% !important; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; margin:0; padding:0;}
            /* Prevent Webkit and Windows Mobile platforms from changing default font sizes, while not breaking desktop design. */
            .ExternalClass {width:100%;} /* Force Hotmail to display emails at full width */  
            .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {line-height: 100%;} /* Force Hotmail to display normal line spacing. */
            #backgroundTable {margin:0; padding:0; width:100% !important; line-height: 100% !important;}
            /* End reset */
            p {
                margin: 1em 0;
            }

Propiedas que se heredan en CSS

May 5, 2010 Leave a comment

Heredan:

  • color
  • font
  • letter-spacing
  • line-height
  • list-style
  • text-align
  • text-indent
  • text-transform
  • visibility
  • white-space
  • word-spacing

No heredan:

  • background
  • border
  • display
  • float and clear
  • height and width
  • margin
  • min- and max-height and -width
  • outline
  • overflow
  • padding
  • position
  • text-decoration
  • vertical-align
  • z-index

Fuente: W3 , CommunityMx

Categories: CSS, Diseño, Programación, Tips, Web

Páginas de CSS de mucha ayuda

April 19, 2010 1 comment
Categories: CSS, Diseño, Links, Tips, Web