mobile fixed and mogged
This commit is contained in:
@@ -6,8 +6,11 @@
|
||||
|
||||
<style scoped>
|
||||
.overlay {
|
||||
position: absolute;
|
||||
inset: 0; /* full width & height of parent */
|
||||
pointer-events: none; /* overlay does not block clicks */
|
||||
position: fixed; /* not absolute */
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -4,12 +4,13 @@
|
||||
|
||||
<style scoped>
|
||||
div {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
position: fixed;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: -1;
|
||||
object-fit: cover; /* optional if it’s an img background */
|
||||
}
|
||||
|
||||
.halftone {
|
||||
|
||||
Reference in New Issue
Block a user