Playgrounds
Snippets
Developers
Compiler
All
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
Coffee
CoffeeScript
ColdFusion
Command
CSS
Delphi
Django
ES6
GLSL
Grunt
Gulp
HAML
Haskell
HTML
iOS
Jade
Java
JavaScript
jQuery
JSX
Less
LUA
MDX
MySQL
Objective
Other
Pascal
Perl
PHP
Plain text
PowerShell
Processing
Progress
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
SCSS
SmallBASIC
Smarty
SQL
Stylus
SVG
Swift
TypeScript
VHDL
X++
XHTML
XML
Xojo
XSLT
New snippet
New playground
Sign up
Login
Upload
Playgrounds
Snippets
Developers
Sign up
Login
CSS Diagnostics
CSS
by
Andrian
9th January 2016
1
2
/* Empty Elements */
div
:empty
,
span
:empty
,
li
:empty
,
p
:empty
,
td
:empty
,
th
:empty
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Find mistakes in HTML and highlight the crap out of them.
3 Responses
The <menu> element seems to get a comeback in HTML5 as context / popup / toolbar menu
https://html.spec.whatwg.org/multipage/forms.html#the-menu-element
But browser support is still very poor
http://caniuse.com/#feat=menu
1
Reply?
Gentle Media
9 years ago
Oh... and another thing. It's better to use the outline property instead of the border property to debug, because that won't break the layout.
1
Reply?
Gentle Media
9 years ago
Check out Pesticide for Chrome:
https://chrome.google.com/webstore/detail/pesticide-for-chrome/bblbgcheenepgnnajgfpiicnbbdmmooh
- it's similar but you can turn it on/off with a button.
0
Reply?
Jesse Graupmann
9 years ago
Write a comment
Send Comment
You can use [html][/html], [css][/css], [php][/php] and
more
to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.
3 Responses
https://html.spec.whatwg.org/multipage/forms.html#the-menu-element
But browser support is still very poor
http://caniuse.com/#feat=menu
Write a comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.