Fix: update botton hover (#62)

This commit is contained in:
ethfoo 2022-06-12 17:39:48 +08:00 committed by GitHub
parent 31c1b58722
commit e1a29ef70c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 2 deletions

View File

@ -40,6 +40,12 @@
width: 100%;
background-repeat: no-repeat;
background-size: 300% 100%;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
}
.animated-gradient img {
@ -64,8 +70,11 @@ section.home-container {
position: relative;
padding-bottom: 0;
padding-top: 0;
position: relative;
z-index: -1;
}
section.home-container .background{
width: 100%;
padding-top: 29.16%;
}
.home-container > .md-typeset {

View File

@ -4,6 +4,7 @@
<div class="md-container">
<section class="home-container">
<div class="background"></div>
<div class="animated-gradient">
<img src="assets/background.jpg" style="display: none;"/>
</div>