Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix : hide the unstyled text by selecting not yet defined component t… #151

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions index.html
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

component 상위에서 선택해야 하므로 index.html에 넣는게 가장 적절할 거라 판단해서 여기에 넣었습니다!

Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@
<script src="./main.js" async defer type="module"></script>

<style>
ds-hero:not(:defined) {
display: inline-block;
height: 100vh;
opacity: 0;
}

ds-button-link:not(:defined) {
opacity: 0;
}

header {
margin: 2rem 0;
border-bottom: 0.1rem solid #d3d3d3;
Expand Down