
티스토리 블로그 보면 블로그에서 개발자기능 소스 보면 콘솔 부분에 위처럼
tistory 로고가 보여지는데 이런건 어떤식으로 해야지 보여지나요?
홈페이지에도 저렇게 콘솔란에 로고 보여지게 해주고픈데 관련 정보가
보이지가않네요..
|
답변 1개 / 댓글 1개
채택된 답변
+20 포인트
3년 전
console log %c 로 검색하거나
css customize console.log 로 검색해 보세요
if(window.console!=undefined){
setTimeout(console.log.bind(console,"%c첫번째 메세지 줄","font:6em Arial;color:#da8903;font-weight:bold"),0);
setTimeout(console.log.bind(console,"%c두번째 메세지 줄","font:4em Arial;color:#009900;font-weight:bold"),0);
setTimeout(console.log.bind(console,"%c세번째 메세지 줄","font:2em Arial;color:#ff00ff;font-weight:normal"),0);
}
답변에 대한 댓글 1개
3년 전
답변을 작성하려면 로그인이 필요합니다.
감사합니다.