콘솔에 색을 넣어보자.
카테고리 없음
2021. 11. 9. 11:59
반응형
console 에 색을 넣어보자.
console.log('This is a text');
console.log('%cThis is a text with a background color', 'background: #00ff00; color: #ff00ff');
console.log('This is a %cTarget text color', 'background: #000000; color: #ffffff');
[MS IE] - 미지원
[MS 엣지] - 지원
[파이어폭스] - 지원
[크롬] - 지원
[웨일] - 지원
반응형