mirror of
https://github.com/mue/mue.git
synced 2026-07-09 05:34:20 +02:00
chore: revert other changes
This commit is contained in:
@@ -31,7 +31,7 @@ export default class Background extends React.PureComponent {
|
||||
if (gradient.length > 1) {
|
||||
// Note: Append the gradient for additional browser support.
|
||||
const stepStyles = gradient.map((g) => ` ${g.colour} ${g.stop}%`).join();
|
||||
style += ` background: ${type}-gradient(${(type === 'linear' ? (`${angle}deg,`) : '')}${stepStyles});`;
|
||||
style += ` background: ${type}-gradient(${(type === 'linear' ? (`${angle}deg,`) : '')}${stepStyles})`;
|
||||
}
|
||||
|
||||
this.setState({
|
||||
|
||||
@@ -3,12 +3,11 @@
|
||||
|
||||
#backgroundImage {
|
||||
height: 100vh;
|
||||
background-size: 400% 400%;
|
||||
background-size: cover !important;
|
||||
background-repeat: no-repeat !important;
|
||||
background-position: center !important;
|
||||
background-attachment: fixed !important;
|
||||
zoom: 100% !important;
|
||||
animation: gradient 15s ease infinite;
|
||||
}
|
||||
|
||||
.backgroundPreload {
|
||||
@@ -36,15 +35,3 @@
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes gradient {
|
||||
0% {
|
||||
background-position: 0% 50%;
|
||||
}
|
||||
50% {
|
||||
background-position: 100% 50%;
|
||||
}
|
||||
100% {
|
||||
background-position: 0% 50%;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user