MagiCSSKroll
How do I make an magicsskroll?
CSS Perspective and Matrix3D for a magic CSS scrollv2 more clean: https://codepen.io/Kseso/full/MoYrmJ/. What is a magicsskroll? How do you make a magicsskroll? This script and codes were developed by Kseso on 17 October 2022, Monday.
MagiCSSKroll - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>magiCSSKroll</title> <link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=El+Messiri:400,600'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <article class="perspective"> <header> <h1>CSS Perspective and Matrix3D</h1> </header> <div class='wrap'> <h2 class='full'>
MagiCSSKroll - Script Codes CSS Codes
/* magic tour */
.perspective { background-image: url('https://unsplash.it/1200/800?image=249'); background-size: cover; background-position: top center; width: 100vw; height: 100vh; -webkit-perspective: 1px; perspective: 1px; overflow-Y: scroll; overflow-X: hidden; }
header { background-image: url('https://unsplash.it/1200/800?image=392'); background-size: cover; -webkit-transform: matrix3d( 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, -1 ) translateZ(-2px); transform: matrix3d( 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, -1 ) translateZ(-2px); width: inherit; height: inherit; display: -webkit-box; display: -ms-flexbox; display: flex; }
/* never mind */
*, *:after, *:before { box-sizing: border-box; -moz-box-sizing: border-box;
}
* {margin:0;padding:0;border:0 none;position:relative;}
body { width: 100vw; font-family: 'El Messiri', sans-serif; font-weight: 400;
}
.wrap { background-image: -webkit-linear-gradient(top, rgba(255,255,255,0) 0vh, rgba(255,255,255,1) 25vh) ; background-image: linear-gradient(to bottom, rgba(255,255,255,0) 0vh, rgba(255,255,255,1) 25vh) ; background-size: 100% 100%; width: inherit; margin-top: 25vh; padding: 25vh 0 0; display: -ms-grid; display: grid; grid-gap: 0; -ms-grid-columns: [full-start] minmax(1em, 1fr) [main-start] minmax(0, 60ch) [main-end] minmax(1em, 1fr) [full-end]; grid-template-columns: [full-start] minmax(1em, 1fr) [main-start] minmax(0, 60ch) [main-end] minmax(1em, 1fr) [full-end]; font-size: 1.5rem; }
.wrap > * { -ms-grid-column: main ; grid-column: main ; margin-top: 2rem; word-break: break-word; -webkit-hyphens: auto; -ms-hyphens: auto; hyphens: auto; text-align: justify;
}
.wrap > .full { -ms-grid-column: full; grid-column: full; text-align: center;
}
h1,
footer h2 { margin: auto; font-size: calc(1rem + 8vmax + 8vmin); font-weight: 600; font-variant: small-caps; text-align: center; line-height: .85; color: #fff; -webkit-filter: drop-shadow(0 0 1px #000); filter: drop-shadow(0 0 1px #000); word-break: break-word; -webkit-hyphens: auto; -ms-hyphens: auto; hyphens: auto;
}
h2 { background: #fff; position: -webkit-sticky; position: sticky; top: 0; font-weight: 600; z-index: 1; text-align: center; font-size: calc(.7rem + 3vmax + 3vmin); font-weight: 600; font-variant: small-caps; text-align: center; line-height: 1;
}
.full img { width: 100vw; height: auto; display: block;
}
.full span { position: absolute; bottom: 30%; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.5); font-size: 50vmin; line-height: .2;
}
ul { padding-left: 3rem; list-style-type: none; color: #888;
}
ul::before { background: #000; content: 'créditos'; position: absolute; left: 0; top: 0; -webkit-writing-mode: vertical-rl; -ms-writing-mode: tb-rl; writing-mode: vertical-rl; text-orientation: upright; color: #fff; font-family: monospace; line-height: 1.5; letter-spacing: .4rem; font-weight: 100; padding: 1rem 0 .5rem;
}
a { color: tomato;
}
footer{ position: fixed; top: 30vh; width: 100vw; height: 100vh; z-index: -1; display: -webkit-box; display: -ms-flexbox; display: flex;
}
footer h2 { background: none; margin: auto; position: -webkit-sticky; position: sticky; top: 15vh;
}
h2 + h3 { opacity: .4; font-weight: 400; font-size: 1.5rem;
}
Developer | Kseso |
Username | Kseso |
Uploaded | October 17, 2022 |
Rating | 4 |
Size | 4,647 Kb |
Views | 24,288 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Parallax pure Css | 3,274 Kb |
Autofill the space between elements with dots. pure Css | 2,949 Kb |
Slider with oblique border | 2,296 Kb |
Three Labels for each Input | 5,413 Kb |
DYNAMIC INSIDE BLUR PURE CSS | 4,925 Kb |
Double checked. Pure Css | 6,280 Kb |
DYNAMIC OUTSIDE BLUR PURE CSS | 4,529 Kb |
Aspect ratios pure Css | 2,661 Kb |
Random animation puere CSS | 3,087 Kb |
Auto Honeycomb CSS Grid Layout | 7,164 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Fluid Grid 12 | Alexoliverwd | 2,309 Kb |
Button shaking | SusanneLundblad | 2,227 Kb |
Canvas Background Effect | Sonick | 3,513 Kb |
Starfield old school style | Bolloxim | 5,214 Kb |
Spinners using Font Icons | Keyamoon | 3,007 Kb |
Login-ng-modal | Heedoo | 3,566 Kb |
Layout 11 | Altynai | 1,690 Kb |
Whyutils | LeYvan | 3,752 Kb |
CSS Chat Bubbles | Boylett | 2,094 Kb |
Geildanke typography | Fischaela | 3,249 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!