Differences between revisions 4 and 5
Revision 4 as of 2017-04-14 07:48:23
Size: 1571
Editor: SamatJain
Comment: Merge CSS into CascadingStyleSheets
Revision 5 as of 2017-04-29 04:36:55
Size: 1851
Editor: SamatJain
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
== Link colors ==
Line 7: Line 8:
=== One ===

{{{
background-color: #f2f2f2;
/* Sidebar */
background-color: #f7f7f7

text-color: black;

a:link { color: #1863a1 }
a:visited { color: #751590 }
a:focus { color: #0181eb }
a:hover { color: #0181eb }
a:active { color: #01579f }
}}}

One

background-color: #f2f2f2;
/* Sidebar */
background-color: #f7f7f7

text-color: black;

a:link { color: #1863a1 }
a:visited { color: #751590 }
a:focus { color: #0181eb }
a:hover { color: #0181eb }
a:active { color: #01579f }

Highlight styles

Lorem Ipsum e-mail: background-color: gold, which is the same as Gary Johnson's e-mail campaign: #FFD700

Highlight text-shadow, from http://www.audiocheck.net/testtones_highdefinitionaudio.php:

text-shadow: -3px 0px 3px yellow, 3px 0px 3px yellow, 6px 0px 6px yellow, -6px 0px 6px yellow;

Flexbox

Animations

  • Animista: Wizard that lets you browse and create keyframe-based animations

Twitter Bootstrap

Ems for block widths

  • 20 em ≈ 320px
  • 30 em ≈ 480px
  • 40 em ≈ 640px
  • 50 em ≈ 800px
  • 60 em ≈ 960px
  • 64 em ≈ 1024px

from Responsive enhancement

Clearfix

Clearfix is the original method for clearfix. At SitePoint, apparently using overflow: auto also works for container elements.

SamatsWiki: CascadingStyleSheets (last edited 2021-11-03 07:16:48 by SamatJain)