Skip to content

Commit

Permalink
fix : hide the unstyled text by selecting not yet defined component t…
Browse files Browse the repository at this point in the history
…o avoid foud issue
  • Loading branch information
SamTheKorean committed Jul 16, 2024
1 parent 673e247 commit e05fdeb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions 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

0 comments on commit e05fdeb

Please sign in to comment.