Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chrisnager/simple-debug.css
Debug your layouts with one line of CSS
https://github.com/chrisnager/simple-debug.css
bookmarklet css css-bookmarklet debug debugger html simple
Last synced: 3 months ago
JSON representation
Debug your layouts with one line of CSS
- Host: GitHub
- URL: https://github.com/chrisnager/simple-debug.css
- Owner: chrisnager
- Created: 2014-06-04T15:08:18.000Z (over 10 years ago)
- Default Branch: gh-pages
- Last Pushed: 2020-04-22T18:53:12.000Z (over 4 years ago)
- Last Synced: 2024-07-05T11:14:11.042Z (4 months ago)
- Topics: bookmarklet, css, css-bookmarklet, debug, debugger, html, simple
- Language: HTML
- Homepage: https://chrisnager.github.io/simple-debug.css
- Size: 294 KB
- Stars: 34
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![simple-debug.css logo](../gh-pages/logo.png "simple-debug.css logo")
# simple-debug.css
Debug your layouts with one line of CSS
## How to use
There are a few ways you can use simple-debug.css.
- Install the [Google Chrome extension](//chrome.google.com/webstore/detail/simple-debugcss/jlkgkebpphmaiemciejnmgccejccnpha).
- Go to the [project page](//chrisnager.github.io/simple-debug.css/#bookmarklet) and drag the bookmarklet link to your bookmarks bar.
![simple-debug.css bookmarklet](../gh-pages/bookmarklet.png "simple-debug.css bookmarklet")- Install with npm
```shell
npm i simple-debug.css
```- Install with bower
```shell
bower i simple-debug.css
```- Include `simple-debug.css` just before the `` closing tag.
```html
…
```
- Paste in this single line of code at the bottom of your site's last CSS file.
```css
*{outline:1px solid #fff!important;background-color:rgba(0,2,54,.1)!important}
```![simple-debug.css in action](../gh-pages/screenshot.png "simple-debug.css in action")
Try it out on [CodePen](//codepen.io/chrisnager/pen/saxeL).
## License
The MIT License (MIT)
Copyright (c) 2014-2020 [Chris Nager](https://twitter.com/chrisnager)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.