Skip to content

Instantly share code, notes, and snippets.

@davo

davo/index.html

Last active Sep 2, 2015
Embed
What would you like to do?
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