- Сборник анимированных градиентов
- Плавная смена цветов по горизонтали
- Результат:
- Плавная смена цветов по вертикали
- Результат:
- Плавная смена цветов по диагонали
- Результат:
- Бегущие полоски
- Результат:
- Бегущие полоски 2
- Результат:
- Комментарии
- Другие публикации
- Fill Background Animation using CSS
- 35+ CSS Animated Backgrounds for Any Website Style
- Pure CSS background animation
- Author
- Made With
- Demo
- Links
- -webkit-background-clip:text CSS effect
- Author
- Made With
- Demo
- Links
- Animate Background
- Author
- Made With
- Demo
- Links
- Rotation & background experiment
- Author
- Made With
- Demo
- Links
- Parallax Star background in CSS
- Author
- Made With
- Demo
- Links
- Cloudy Spiral CSS animation
- Author
- Made With
- Demo
- Links
- pure CSS twinkling stars background
- Author
- Made With
- Demo
- Links
- Background Effect
- Author
- Made With
- Demo
- Links
- Pure CSS Particle Animation
- Author
- Made With
- Demo
- Links
- CSS Fireflies
- Author
- Made With
- Demo
- Links
- infinite SVG Triangle Fusion
- Author
- Made With
- Demo
- Links
- Animated Ripples background
- Author
- Made With
- Demo
- Links
- Cool Mountain Background with animations – slightly responsive
- Author
- Made With
- Demo
- Links
- Chameleon background
- Author
- Made With
- Demo
- Links
- Animation Background-Clip Text Effect – Using Only HTML & CSS
- Author
- Made With
- Demo
- Links
- CSS3 Animation: Background Color Cycle
- Author
- Made With
- Demo
- Links
- Animation background #1
- Author
- Made With
- Demo
- Links
- Animated Background Gradient
- Author
- Made With
- Demo
- Links
- CSS3 Animation – Background colour
- Author
- Made With
- Demo
- Links
- CSS Animated Background Landing Page
- Author
- Made With
- Demo
- Links
- Hearts animation background
- Author
- Made With
- Demo
- Links
- CSS Animation – Background-image-scroll
- Author
- Made With
- Demo
- Links
- SVG Animation Background
- Author
- Made With
- Demo
- Links
- Foundation 6 Animated Background
- Author
- Made With
- Demo
- Links
- Animated CSS mask-image gradient
- Author
- Made With
- Demo
- Links
- Parallax Background Image
- Author
- Made With
- Demo
- Links
- Canva moving background effect
- Author
- Made With
- Demo
- Links
- Parallax Background Effect
- Author
- Made With
- Demo
- Links
- CSS background effect
- Author
- Made With
- Demo
- Links
- Animated CSS mask-image gradient
- Author
- Made With
- Demo
- Links
- Everything “random()” 😛
- Author
- Made With
- Demo
- Links
- Simple Parallax Background Effect ( Only Css )
- Author
- Made With
- Demo
- Links
- background effect
- Author
- Made With
- Demo
- Links
- Sliding Diagonals Background Effect
- Author
- Made With
- Demo
- Links
- Text Clip background effect
- Author
- Made With
- Demo
- Links
- Psychedelic animated background
- Author
- Made With
- Demo
- Links
- Similar Posts
- The Best 10+ CSS SELECT BOX – GSCODE
- 50+ Best CSS Timeline Examples (Creation, Design & Inspiration)
- Creative CSS Grid Layouts: 40+ Inspiring Examples from CodePen
- 10+ Tailwind Cards
- 20+ Examples Of Great Tab Bar Menu Animations (For Your Inspiration)
- Best 30+ Pure CSS Forms That Help to create Form
Сборник анимированных градиентов
Сборник анимированных градиентов c использованием CSS keyframes.
Плавная смена цветов по горизонтали
body < background: linear-gradient(90deg, #ee7752, #e73c7e, #23a6d5, #23d5ab); background-size: 400% 400%; animation: gradient 10s ease infinite; transform: translate3d(0, 0, 0); >@keyframes gradient < 0% < background-position: 0% 50%; >50% < background-position: 100% 50%; >100% < background-position: 0% 50%; >>
Результат:
Плавная смена цветов по вертикали
body < background: linear-gradient(180deg, #641e39, #98749b, #ddf810, #8f4ff4); background-size: 400% 400%; animation: gradient 10s ease infinite; >@keyframes gradient < 0% < background-position: 50% 0%; >50% < background-position: 50% 100%; >100% < background-position: 50% 0%; >>
Результат:
Плавная смена цветов по диагонали
body < background: linear-gradient(-45deg, #ed193b, #a98055, #f286e2, #681d7a); background-size: 400% 400%; animation: gradient 10s ease infinite; >@keyframes gradient < 0% < background-position: 0% 50%; >50% < background-position: 100% 50%; >100% < background-position: 0% 50%; >>
Результат:
Бегущие полоски
Результат:
Бегущие полоски 2
Результат:
Комментарии
Другие публикации
Такой эффект можно сделать с помощью :before у родительского элемента. Поверх изображения помещается абсолютный блок с.
Fill Background Animation using CSS
From the code above, I set background with linear-gradient(to right, #000 50%, #fff 50%) , because I want the background move from left to right with black-white color. And I set background-size to 200% width and 100% height. When the width is bigger than 100% it will not fill the button with black, instead will be filled with white background. Then, I set the animation stop at right position of the button so I put background-position: bottom right; . After that, because I want the animation start when hover I put background-position: bottom left; on hover state. Now let’s see the result:
It works 🙂
Let’s add and modify linear-gradient , background-size and background-position to make other buttons have similar animation with different directions.
/* RIGHT TO LEFT */ .button__right-left border: 2px solid black; background: linear-gradient(to left, #000 50%, #fff 50%); background-size: 200% 100%; background-position: bottom left; transition: all .7s ease-out; > .button__right-left:hover border: 2px solid limegreen; background-position: bottom right; color: #fff; > /* TOP TO BOTTOM */ .button__top-bottom border: 2px solid black; background: linear-gradient(to bottom, #000 50%, #fff 50%); background-size: 100% 200%; background-position: bottom left; transition: all .5s ease-out; > .button__top-bottom:hover border: 2px solid limegreen; background-position: top left; color: #fff; > /* BOTTOM TO TOP */ .button__bottom-top border: 2px solid black; background: linear-gradient(to top, #000 50%, #fff 50%); background-size: 100% 200%; background-position: top left; transition: all .5s ease-out; > .button__bottom-top:hover border: 2px solid limegreen; background-position: bottom left; color: #fff; >
35+ CSS Animated Backgrounds for Any Website Style
See the Pen Pure Css Animated Background by Mohammad Abdul Mohaiman (@mohaiman) on CodePen.
Pure CSS background animation
Author
Made With
Demo
Links
-webkit-background-clip:text CSS effect
Author
Made With
Demo
Links
Animate Background
Author
Made With
Demo
Links
Rotation & background experiment
Move your mouse around, see the result. No SVG/canvas/anything else! I really like the effect
More rotational objects can be added easily, just add the appropriate HTML structure (including the necessary classes)
This could also be combined with a CSS-only square container and made responsive very easily. For an example of the technique, check here http://codepen.io/Zeaklous/pen/ImGaH
Author
Made With
Demo
Links
Parallax Star background in CSS
Using a very simple sass function, and CSS animation key frames, built parallax scrolling stars in space. The sass function creates a random star field on each load.
Author
Made With
Demo
Links
Cloudy Spiral CSS animation
Author
Made With
Demo
Links
pure CSS twinkling stars background
Author
Made With
Demo
Links
Background Effect
Author
Made With
Demo
Links
Pure CSS Particle Animation
Author
Made With
Demo
Links
CSS Fireflies
An elegant HTML/CSS only solution for adding a tranquil fireflies effect to you page.
Author
Made With
Demo
Links
infinite SVG Triangle Fusion
Author
Made With
Demo
Links
Animated Ripples background
Author
Made With
Demo
Links
Cool Mountain Background with animations – slightly responsive
Author
Made With
Demo
Links
See the Pen Chameleon background by Roland Warmerdam (@Rowno) on CodePen.
Chameleon background
Author
Made With
Demo
Links
Animation Background-Clip Text Effect – Using Only HTML & CSS
Author
Made With
Demo
Links
CSS3 Animation: Background Color Cycle
Author
Made With
Demo
Links
Animation background #1
Author
Made With
Demo
Links
Animated Background Gradient
Author
Made With
Demo
Links
CSS3 Animation – Background colour
Author
Made With
Demo
Links
CSS Animated Background Landing Page
Cover page with an animated background CSS and background pattern overlay
Author
Made With
Demo
Links
Hearts animation background
Author
Made With
Demo
Links
CSS Animation – Background-image-scroll
Author
Made With
Demo
Links
SVG Animation Background
Author
Made With
Demo
Links
Foundation 6 Animated Background
Author
Made With
Demo
Links
Animated CSS mask-image gradient
Author
Made With
Demo
Links
Parallax Background Image
Author
Made With
Demo
Links
Canva moving background effect
Author
Made With
Demo
Links
Parallax Background Effect
Author
Made With
Demo
Links
CSS background effect
Author
Made With
Demo
Links
Animated CSS mask-image gradient
Author
Made With
Demo
Links
Everything “random()” 😛
Author
Made With
Demo
Links
Simple Parallax Background Effect ( Only Css )
Author
Made With
Demo
Links
See the Pen background effect by Mert Köseoğlu (@mksglu) on CodePen.
background effect
Author
Made With
Demo
Links
Sliding Diagonals Background Effect
Author
Made With
Demo
Links
Text Clip background effect
Author
Made With
Demo
Links
Psychedelic animated background
Author
Made With
Demo
Links
Similar Posts
The Best 10+ CSS SELECT BOX – GSCODE
See the Pen Completely CSS: Custom checkboxes, radio buttons and select boxes by Kenan Yusuf (@KenanYusuf) on CodePen. Title:-Completely CSS: Custom checkboxes, radio buttons, and select boxesAuthor:-Kenan YusufMade With:-HTML,CSS See the Pen Select-Boxes by Nipun Paradkar (@radiantshaw) on CodePen. Title:-Select-BoxesAuthor:-Nipun ParadkarMade With:-HTML,CSS,JS See the Pen Custom select box (with jQuery) by Masterov (@Masterov) on CodePen….
50+ Best CSS Timeline Examples (Creation, Design & Inspiration)
This is a collection of 50+ CSS Timeline Examples that are suitable for your web projects In this article, you’ll find 50+ best CSS Timeline Examples. See the Pen CSS Timeline by Nils Wittler (@NilsWe) on CodePen. Title:- CSS TimelineAuthor:- Nils WittlerMade With:- HTML CSS See the Pen CSS Timeline by Darcy Voutt (@darcyvoutt) on…
Creative CSS Grid Layouts: 40+ Inspiring Examples from CodePen
CSS Grid is a powerful layout tool that can be used to create creative and inspiring websites. This article showcases 40+ examples of CSS Grid layouts from CodePen, a popular website for sharing code snippets. Image Mosaic Effect with CSS Grids & Blend Modes Author Dudley Storey Made With HTML,CSS(SCSS) Demo Check Out Demo Links…
10+ Tailwind Cards
See the Pen Tailwind – Cards by Andi Grether (@handplant) on CodePen. Title :- Tailwind – CardsAuthor:- Andi GretherMade With :- HTML CSS JS See the Pen Calcite Tailwind Cards by Erich Rainville (@TheBlueDog) on CodePen. Title :- Calcite Tailwind CardsAuthor:- Erich RainvilleMade With :- HTML CSS JS See the Pen Tailwind – Cards by…
20+ Examples Of Great Tab Bar Menu Animations (For Your Inspiration)
See the Pen mobile navigation concept by Tobias Glaus (@tobiasglaus) on CodePen. Title:- mobile navigation conceptAuthor:- Tobias GlausMade With:- HTML CSS JAVASCRIPT See the Pen Fancy tab bar active animation by Aaron Iker (@aaroniker) on CodePen. Title:- Fancy tab bar active animationAuthor:- Aaron IkerMade With:- HTML CSS JAVASCRIPT See the Pen Tab bar active animation…
Best 30+ Pure CSS Forms That Help to create Form
Login & Sign Up Form Concept Author Dany Santos Made With HTML,CSS,JS Demo Check Out Demo Links Download Credit Card Payment Form Author Jade Preis Made With HTML,CSS,JS Demo Check Out Demo Links Download Payment card checkout Author Simone Bernabè Made With HTML,CSS,JS Demo Check Out Demo Links Download Bullet Journal/Sketch Style Elements Author Olivia…