css in console.log
console.log("%cStop!", "font: 50px sans-serif; font-weight:bold; color:red; -webkit-text-stroke:1px black;");
css in console.log
console.log("%cStop!", "font: 50px sans-serif; font-weight:bold; color:red; -webkit-text-stroke:1px black;");
console.log style css
console.log("%cThis is a %cConsole.log", "background:black ; color: white", "color: red; font-size:25px");
Console.log CSS styling
//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');
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us