Answers for "add style to console log"

5

css customize console.log

// Rainbow Giant Styled Text
const style = 'font-weight: bold; font-size: 50px;color: red; text-shadow: 3px 3px 0 rgb(217,31,38) , 6px 6px 0 rgb(226,91,14) , 9px 9px 0 rgb(245,221,8) , 12px 12px 0 rgb(5,148,68) , 15px 15px 0 rgb(2,135,206) , 18px 18px 0 rgb(4,77,145) , 21px 21px 0 rgb(42,21,113)';

console.log('%c Rainbowww!', style);
Posted by: Guest on June-04-2020
3

console.log style css

console.log("%cThis is a %cConsole.log", "background:black ; color: white", "color: red; font-size:25px");
Posted by: Guest on December-10-2020
1

console log style

console.log("%cThis is a green text", "color:green");
Posted by: Guest on November-04-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language