Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
button-test [2024/01/24 17:41] – yiler.huang | button-test [2024/01/24 17:50] (current) – yiler.huang | ||
---|---|---|---|
Line 30: | Line 30: | ||
margin: 3px; | margin: 3px; | ||
} | } | ||
- | + | | |
- | @media only screen and (max-width: 767px) { | + | |
- | .button { | + | |
- | width: 79%; | + | |
- | height: 79%; | + | |
- | background-color: | + | |
- | position: relative; | + | |
- | overflow: hidden; | + | |
- | margin: 3px; | + | |
- | } | + | |
- | } | + | |
.image { | .image { | ||
position: absolute; | position: absolute; |