Skip to content

Instantly share code, notes, and snippets.

View ericyork's full-sized avatar

Eric J York ericyork

  • Iowa State University of Science and Technology
  • Ames, IA
View GitHub Profile
@ericyork
ericyork / Useful_global_CSS.css
Created August 30, 2021 12:44 — forked from jackdomleo7/Useful_global_CSS.css
A set of useful global CSS defaults to add to your site alongside a reset stylesheet (with explanations)
/*! NOTE: These are just recommended default global styles, edit as required */
@import ('Import reset stylesheet here, (I recommend modern-normalize) or even better, import the reset stylesheet in the HTML as the first imported stylesheet');
::selection { /* Optional */
/* It can be really hard to read highlighted text with a text-shadow, it should be removed when selected */
text-shadow: none;
/* NOTE: Using this means the color and background-color are set to transparent for selected text... */
/* So you can customise your styles below */