Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // For debugging HTML and CSS
- function borderAll(tag, color) {
- Array.prototype.slice.call(
- document.getElementsByTagName(tag)).forEach((el) => {
- el.style.border = '1px solid ' + (color || '#ff0000');
- });
- }
Add Comment
Please, Sign In to add comment