21.08.25
🌱 REPOSITORIES
💻 PROJECT
Reset CSS & CSS variables
1. Reset CSS
業務上はnormalizeです.cssをリセットします.cssよりも多く使われていますが、これは開発者の好みです.
2. CSS variables
:root {
--black: #18181a;
--brand-color: #9147ff;
--font-size-16: 40px;
}
#intro {
--font-color: blue;
--font-size: 50px;
}
:root{}
で完了する必要があります.Responsive personal portfolio website
1.Portfolio
2. Project in mind
3. Testimonial
4. Contact Me
5. footer
6. Show scroll up
function scrollHeader() {
const nav = document.getElementById('header');
// When the scroll is greater than 80 viewport height, add the scroll-header class to the header tag
if (this.scrollY >= 80) nav.classList.add('scroll-header');
else nav.classList.remove('scroll-header');
}
window.addEventListener('scroll', scrollHeader);
💡 REVIEW
Reference
この問題について(21.08.25), 我々は、より多くの情報をここで見つけました https://velog.io/@pyeonne/21.08.25テキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol