Skip to content

Instantly share code, notes, and snippets.

@davo
Last active September 2, 2015 21:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davo/0bb97a9ab632d62db54a to your computer and use it in GitHub Desktop.
Save davo/0bb97a9ab632d62db54a to your computer and use it in GitHub Desktop.
Debug alignments with CSS
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Debug alignments with CSS</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="main.css">
</head>
<body>
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<p>Hello world!</p>
</body>
</html>
* { box-shadow: inset 0 0 0 1px red }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment