In Chrome & Firefox (+31) you can add CSS in console.log
messages:
console.log('%c Oh my heavens! ', 'background: #222; color: #bada55');
The same can be applied for adding multiple CSS to same command.
References
More Related Contents:
- Why does Chrome debugger think closed local variable is undefined?
- Suppress Chrome ‘Failed to load resource’ messages in console
- How do you launch the JavaScript debugger in Google Chrome?
- Find out whether Chrome console is open
- Google Chrome console.log() inconsistency with objects and arrays
- Console.log showing only the updated version of the object printed
- $ Variable (Dollar Sign) in Chrome?
- What’s the difference between console.dir and console.log?
- How to disable JavaScript in Chrome Developer Tools?
- clear javascript console in Google Chrome
- TypeError: Illegal Invocation on console.log.apply
- How to make Google Chrome JavaScript console persistent?
- Javascript Debugging line by line using Google Chrome
- How to include JavaScript file or library in Chrome console?
- How do I print debug messages in the Google Chrome JavaScript Console?
- Chrome JavaScript developer console: Is it possible to call console.log() without a newline?
- View list of all JavaScript variables in Google Chrome Console
- how to set DOM Breakpoints in chrome
- Create shortcut to console.log() in Chrome
- What is the source of the double-dollar sign selector query function in Chrome/Firefox?
- How to get list of network requests done by HTML
- Disable source maps in Chrome DevTools
- How to find what code is run by a button or element in Chrome using Developer Tools
- Chrome debugging – break on next click event
- How to get result of console.trace() as string in javascript with chrome or firefox?
- Console.log not working at all
- What does the “System” category of records mean in Chrome Timeline profiling tool?
- Programmatically accessing function scope using Chrome DevTools console
- Link to chrome:// url from a webpage
- Chrome developer tools do not show all JavaScript files any more