A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.
One-line version to paste in your DevTools
Use $$ if your browser aliases it:
~ 108 byte version
| <?php | |
| require_once(dirname(__FILE__) . '/library/TCPDF-main/tcpdf.php'); | |
| require_once(dirname(__FILE__) . '/library/FPDI-master/src/autoload.php'); | |
| use setasign\Fpdi; | |
| class Pdf extends Fpdi\Tcpdf\Fpdi | |
| { | |
| protected $tplId; | |
| private $source_file; |
| /* | |
| * ------------------------------------------------------------ | |
| * "THE BEERWARE LICENSE" (Revision 42): | |
| * <author> wrote this code. As long as you retain this | |
| * notice, you can do whatever you want with this stuff. If we | |
| * meet someday, and you think this stuff is worth it, you can | |
| * buy me a beer in return. | |
| * ------------------------------------------------------------ | |
| */ |
| Windows Registry Editor Version 5.00 | |
| [-HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder] | |
| [-HKEY_CLASSES_ROOT\Directory\shell\Cmder] |