Skip to content

Instantly share code, notes, and snippets.

@gre
Created June 5, 2011 10:49
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 gre/1008866 to your computer and use it in GitHub Desktop.
Save gre/1008866 to your computer and use it in GitHub Desktop.
some CSS to style a <todo> element used during mocking pages.
todo {
display: inline-block;
font-style: italic;
padding: 5px 10px;
margin: 10px;
color: #666;
font-size: 0.9em;
border: 2px dashed #ccc;
background: #eee;
}
todo:before {
content: '⌦ TODO: ';
font-weight: bold;
}
todo:after {
content: ' ';
}
@gre
Copy link
Author

gre commented Jun 5, 2011

Usage: <todo>Implement a pager</todo>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment