left: 0;
width: 100%;
height: 100%;
background: var(--color-bg);
}
.js .loading::after {
content: '';
position: fixed;
z-index: 100000;
top: 50%;
left: 50%;
width: 60px;
height: 60px;
margin: -30px 0 0 -30px;
pointer-events: none;
border-radius: 50%;
opacity: 0.4;
background: var(--color-link);
animation: loaderAnim 0.7s linear infinite alternate forwards; }
@keyframes loaderAnim {
to {
opacity: 1;
transform: scale3d(0.5,0.5,1);
}
}
a {
text-decoration: none;
color: var(--color-link);
outline: none;
}
a:hover,
a:focus {
color: var(--color-link-hover);
outline: none;
}
.hidden {
position: absolute;
overflow: hidden;
width: 0;
height: 0;
pointer-events: none;
}
/* Icons */
.icon {
display: block;
width: 2em;
height: 2em;
margin: 0 auto;
fill: currentColor;
}
main {
position: relative;
margin: 0 auto;
}
/* Header */
.
codrops-header {
position: relative;
position: relative;
z-index: 100;
display: flex;
flex-direction: row;
align-items: center;
width: 100%;
padding: 10vw;
background-image: linear-gradient(110deg,#1e089b,#4702a0);
font-size: 75%;
}
.codrops-header__inner {
display: flex;
max-width: 500px;
flex-direction: column;
align-items: flex-start;
}
.codrops-header__title {
font-size: 1.5rem;
line-height: 1;
font-weight: 600;
margin: 0;
padding: 0.5rem 0;
font-family: 'IBM Plex Mono', monospace;
font-weight: 500;
background: linear-gradient(90deg, #f7c53d 0%,#9302a0 50%, #6dbaa3 100%); background-size: cover;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
}
.info {
margin: 1rem 0;
color: var(--color-info);
}
.github {
display: block;
}
/* Top Navigation Style */
.codrops-links {
position: relative;
display: flex;
justify-content: center;
text-align: center;
white-space: nowrap;
}
.codrops-icon {
display: inline-block;
margin: 0.15em;
padding: 0.25em;
}
.grid__item {
position: relative;
display: grid;
grid-template-columns: 100%;
grid-template-rows: 100%;
align-items: center;
justify-items: center;
overflow: hidden;
overflow: hidden;
padding: 4rem 1.5rem;
height: 100vw;
width: 100vw;
background: var(--color-item-bg);
}
.
grid__item-title {
font-size: 0.85rem;
color: var(--color-item-title);
align-self: flex-start;
margin: 0;
}
.action {
position: absolute;
top: 0;
right: 0;
background: none;
margin: 2rem;
color: var(--color-action);
border: 0;
padding: 0;
opacity: 0;
pointer-events: none;
}
.action:focus {
outline: none;
}
.particles {
position: relative;
grid-area: 1 / 1 / 2 / 2;
}
.particles-canvas {
position: absolute;
pointer-events: none;
top: 50%;
left: 50%;
transform: translate3d(-50%,-50%,0); }absolute relative
.particles-wrapper {
position: relative;
display: inline-block;
overflow: hidden;
}
.particles-button {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
position: relative;
border-radius: 5px;
border-radius: var(--radius-button); background: var(--color-button-bg); color: var(--color-button-text);
border: 0;
border: var(--border-button);
margin: 0;
padding: 1.5rem 3rem;
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论