I'm trying to style a console.log()
message so that it looks nicer (background colours, text colours etc...).
I'm using the following code:
console.log('%c Created by' + '%c www.google.com', 'background: #13212E; color: #FFF; padding: 5px 10px;', 'background: #05E5C8; color: #13212E; padding: 5px 10px;');
Which outputs in Chrome's console like:
As you can see it's almost perfect, but the color
style isn't being applied to the link ('www.google.com'), and I also want to remove the white background.
Is there any way to style these properties for a link in a console.log()
message?