CSS в консоли.log
console.log("%cStop!", "font: 50px sans-serif; font-weight:bold; color:red; -webkit-text-stroke:1px black;");
DenverCoder1
console.log("%cStop!", "font: 50px sans-serif; font-weight:bold; color:red; -webkit-text-stroke:1px black;");
console.log("%cThis is a %cConsole.log", "background:black ; color: white", "color: red; font-size:25px");
//example 1: (Default "STOP" you see when opening the console)
console.log(
"%cStop!",
"color:red;font-family:system-ui;font-size:4rem;-webkit-text-stroke: 1px black;font-weight:bold"
);
//example 2:
console.log("%c" + someVariable, 'color:blue;border:2px solid red');
//example 3:
console.log("%cWord 1 %cWord2 ", 'color:red;border:2px solid blue;background:green','color:blue;border:2px solid red');