aiexperiments-ai-duet/static/style/glow.css

29 lines
469 B
CSS
Raw Permalink Normal View History

2016-11-11 18:52:19 +00:00
@import 'common.scss';
#glow {
#ai, #user {
width: 100%;
height: 100%;
position: absolute;
top: 0px;
left: 0px;
transition: opacity 1.2s;
&.visible {
opacity: 0.3;
}
}
$glowReach : 60%;
#ai {
opacity: 0;
background-image: radial-gradient(ellipse farthest-corner at 50% 0px, $orange 0%, black $glowReach);
}
#user {
opacity: 0;
background-image: radial-gradient(ellipse farthest-corner at 50% 0px, $blue 0%, black $glowReach);
}
}