Like this content? Join our Facebook group (ISOGROUP), subscribe to current affairs communication, and check our oxygen machine courses (will be launched soon).
Disassembling (and response) color and photo background
Our preferred case is to build a full -wide division background, 50% of which are solid colors, 50 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50 % Is the image. You can use 3 DIV and Flexbox to do this, but the problem is that because the Oxygen processing part of the processing part, you will not be easy (and responsible) to maintain the largest page width.
oxygen part html

class as a part, but it is usually much easier to use CSS gradient.
First, add the background image. Then, add a gradient to the top, as shown below:
Transparent color 50%, solid color 50%, 50%of the same color.

If we use standardized filling, we can even use CALC (50% -youRPadding) to locate the background to \”merge\” to fill.
color division background
The simplest effect is to remove the background image And simply divide the gradient between the two colors.
By setting the positioning of the two to 50%, it will not fade into it. Instead, the hard transition between the two colors.
Related posts
This is really flexible. We can even achieve hard conversion and fading in the same part:
Finally, if we add background images, we can superimposed these effects on the image.
Just add a standard background image. 
You can add any number as needed. When merging the color together, I usually leave the position.
A real basic animation can simply move the background. For this reason, please add the following CSS to the part with gradient:
Animation: Animation 5s slowdown; background size: 200% 200%; Then create a key frame of animation, And add it to your universal style table:
@-webkit-keyframes animation {0%{background-posity: 10%0%} 50%{backGroundd-POSITION: 91%100%} 100%{Background-POSITION: 10%0%} @-moz-keyframes animation {0%{background-posity: 10%0%} 50%{background-posity: 91%100 100 %} 1 100%{Background-POSITION: 10%0%}} @Keyframes Animation {0%{Background-POSITION: 10%0%} 50%{Background Location: 91%100%} 100%{Background Location: 10% 0%}}
General Animation

] The code in this section comes from this codepen.
Add a
. Gradient-Border . Paste this code into a custom CSS:
-Border width: 3px; background:#1D1F20; Location: Comparison; Border Rate state.

Paste the following custom CSS:
Location: absolute; top: calculation (-1 * var (-borderWidth)); Left: calculation (calculation (calculation (calculation (calculation ( -1 * var(–borderWidth)); 高度:计算(100% + var(–borderWidth)* 2); 宽度:计算(100% + var(–borderWidth)* 2); 边界半径:计算( 2 * VAR (-BorderWidth); Z index: -1;
Set background gradient as normal, or simply paste it to .Gradient-BordER: After's custom CSS:
[Background [background [ 123] :
linear-gradient (60 deg
,
#f79533
, #f37055 , #ef4e7b , [ 123]#A166AB , #5073b8
,
#1098ad , #07b39b , #6Fba82 ); ] code language: css ( css ) Now, whenever you use the .gradient-Border class should be used for DIV or elements, it will apply effects. Animation it You can add animation it: -webkit -animation: AnimatedGradient 3s Ease is unlimited; animation: AnimatedGradient 3s Ease alternate无限; 背景尺寸:300% 300%; 到.gradient-border:after
和
[123 ]
@-webkit-Keyframes Animation Gradient {0% {Background Location: 0% 50%;} 50% {Background Location: 100% 50%;} 100% {Background Location: 0% 50%;}} @Keyframes Animation Gradient {0% {Background Location: 0% 50%;} 50% {Background Location: 100% 50%;} 100% {Background Location: 0% 50%;}
To your general CSS.
This is CSS
You can use tools such as https://cssgradient.io/Pure CSS executes this operation.This tool generates the CSS linear gradient required for gradient.What you do is copy/paste into a custom CSS field of specific elements in Oxygen.
You may also like to read:
Related posts
Aglement at any time.We will not send spam, nor will we sell or share your email.