이런 기능은 어디에 추가해야되는건가요?
본문
티스토리 블로그 보면 블로그에서 개발자기능 소스 보면 콘솔 부분에 위처럼
tistory 로고가 보여지는데 이런건 어떤식으로 해야지 보여지나요?
홈페이지에도 저렇게 콘솔란에 로고 보여지게 해주고픈데 관련 정보가
보이지가않네요..
답변 1
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);
}
답변을 작성하시기 전에 로그인 해주세요.