Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js console.log color

console.log('%c My txt ', 'My css');

// Example
console.log('%c Hello world ', 'background: #222; color: #bada55');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #color
ADD COMMENT
Topic
Name
2+9 =