1
Divtober 27: Film
source link: https://codepen.io/alvaromontoro/pen/qBXmKOr
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Pen Settings
HTML Preprocessor
Add Class(es) to <html>
Stuff for <head>
0 unsaved changes
xxxxxxxxxx
<div role="img" aria-label="A 3D looking cartoon of a clapperboard/slate "></div>
body {
margin: 0;
height: 100vh;
width: 100vw;
perspective: 1000px;
background: #def;
background: radial-gradient(closest-side, #def 20%, #ace)
}
div {
--time: 0.2s;
--timing: ease-in-out;
position: absolute;
top: 50%;
left: 50%;
width: 50vmin;
height: 5vmin;
transition: transform var(--time) var(--timing), box-shadow var(--time) var(--timing);
background:
repeating-linear-gradient(45deg, #222 0 12%, white 0 22%) 100% 0% / 80% 100%
;
background-color: #222;
xxxxxxxxxx
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK