Q&A
HOME >> 커뮤니티 >> Q&A

미세먼지 피부 보호 꿀팁! 건강한 피부를 위한 필수 가이드

페이지 정보

작성자 HELLO 작성일25-03-13 18:57 조회3회 댓글0건

본문








목차




.book-toc 건강한 피부를 위한 항산화 식품 li { margin-bottom: 6pxline-height: 1.4}
.book-toc li a { color: #444 !importanttext-decoration: none !important}
.book-toc li a:visited { color: #444 !importanttext-decoration: none !important}
.book-toc li a:hover { color: #007bff !importanttext-decoration: underline !important}
.btn-rounded { transition: all 0.3s ease}
.btn-rounded:hover { transform: scale(1.1)}
table tr:first-child th { background-color: #2698ff}


document.addEventListener("DOMContentLoaded", function() {
const tocList = document.getElementById("tocList");
const headers = document.querySelectorAll(".entry-content h2, .entry-content h3");
headers.forEach(function(header, index) {
if (!header.id) { header.id = "toc-heading-" + (index + 1)}
const li = document.createElement("li");
const aTag = document.createElement("a");
aTag.setAttribute("href", "#" + header.id);
aTag.textContent = header.textContent.trim();
if (header.tagName.toLowerCase() === "h3") { li.style.marginLeft = "20px"}
li.appendChild(aTag);
tocList.appendChild(li);
});
const firstH2 = document.querySelector(".entry-content h2");
const myToc = document.getElementById("myToc");
if (firstH2 && myToc) { firstH2.parentNode.insertBefore(myToc, firstH2)}
});


댓글목록

등록된 댓글이 없습니다.

상호명 신성사 | 대표자 박한규 | 사업자등록번호 106-50-64457 | TEL 02-713 –3691 | FAX 02 - 716 - 8564 | ADD 서울특별시 용산구 원효로58길 17 나우빌딩 2층 | E-mail help@sscom.co.kr

Copyrightsⓒ2016 신성사 All rights reserved.