- 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
- 20+ Best CSS Checkbox – GSCODE
- CSS Popup/Modal Design: 35+ Examples for Inspiration
- Get Inspired with 30+ CSS Motion Path Examples
- CSS Image Hover Effects: A Collection of 40+ Creative Examples
- 30+ CSS Typewriter effect | CSS Typing Animation
- 30+ Best CSS Text Stroke Effects For Your Inspiration
- Анимированный фон веб-страницы на чистых HTML и CSS
- Диагональный градиент
- Скольжение диагоналей
- Анимированный фон
- Бесконечный паттерн
- Прекрасный анимированный бэкграунд
- Анимированный «лесной» фон
- Плавающие квадраты
- Снова диагональные линии
- Плывущие облака
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
20+ Best CSS Checkbox – GSCODE
Check Out Best collection of html and CSS checkbox Style with example and download source code Dropdown with Multiple checkbox select with jQuery Author Mahmoud Elmahdi Made With HTML,CSS,JS Demo Check Out Demo Links Download Pure CSS iOS Style Switches with Labels Author Jesse Couch Made With HTML,CSS Demo Check Out Demo Links Download only…
CSS Popup/Modal Design: 35+ Examples for Inspiration
Every site developer should have access to CSS Popup/Modal design. You may create amazing and captivating user experiences for your website by using the 35+ examples CSS Popup/Modal provided here, which demonstrate the power of CSS. Title:-Password Modal with Finite State Machine Author:-David Khourshid Made with:- HTML CSS JS Title:-Nifty Modal Window or Slider Effects…
Get Inspired with 30+ CSS Motion Path Examples
Here is a list of 30+ CSS motion path examples that demonstrate how to use the CSS motion-path property to animate an element along a custom path: See the Pen Stay cool w/ responsive motion-path 😎 by Jhey (@jh3y) on CodePen. Title:- Stay cool w/ responsive motion-path ??Author:- JheyMade with:- CSS HTML JS See the…
CSS Image Hover Effects: A Collection of 40+ Creative Examples
Learn how to use CSS to create stunning hover effects for your images with this collection of 40+ creative examples. Title:-#1438 – Image Hover Author:-LittleSnippets.net Made with:- HTML CSS JS Title:-Image Gallery Author:-kw7oe Made with:- HTML CSS JS Title:-Image Hover Interaction Author:-Sikriti Dakua Made with:- HTML CSS JS Title:-#1500 – Image Hover Author:-LittleSnippets.net Made with:-…
30+ CSS Typewriter effect | CSS Typing Animation
Related Articles CSS Text Glitch Effect Cool CSS Text Effects | Text Animation Typewriter effect |Typing animation with Typed.js Author Caroline Vermeir Made With HTML CSS JS Demo Check out Demo LINKS Download Text slider with typing animation in pure CSS Author Adam Lewinski Made With HTML CSS(SCSS) Demo Check out Demo LINKS Download Cheat…
30+ Best CSS Text Stroke Effects For Your Inspiration
In this article, we will explore 30 of the best CSS text stroke examples to help you figure out what a CSS text stroke might look like for your projects Title:- Striking Splits ?? | Full Screen Menu Animation Tutorial @keyframers 2.16.0 Author:- @keyframers Made with:- HTML CSS JS Title:- Text stroke animation Author:- Cyd…
Анимированный фон веб-страницы на чистых HTML и CSS
Подпишись на наш телеграм-канал TechRocks WEB-разработка?
Перевод статьи «Amazing Pure HTML and CSS background animations».
Анимации — это круто, правда? Они добавляют изюминку на сайт и позволяют ему выделиться на фоне конкурентов. Но бывает, что вы решили создать сайт исключительно на HTML и CSS, и это несколько ограничивает полет вашей фантазии. И совершенно зря! Даже если у вас в наборе только эти два инструмента, вы все равно можете достигнуть потрясающих визуальных эффектов. В этой статье вы найдете несколько идей, от которых сможете отталкиваться в дальнейшем.
Диагональный градиент
Написать такой код легко, а эффект получается очень интересный.
Скольжение диагоналей
Предыдущий эффект был очень ненавязчивым, а этот гарантированно привлекает внимание.
Анимированный фон
Обратите внимание, насколько прост сам бэкграунд и насколько меняется его восприятие благодаря анимации.
Бесконечный паттерн
Отдельное спасибо @keyframes за бесконечную прокрутку!
Прекрасный анимированный бэкграунд
Просто задержитесь на мгновение и насладитесь тем, насколько привлекательна эта анимация. Такое приятное смешение цветов, а между тем оно совершенно не отвлекает внимание от названия на переднем плане.
Анимированный «лесной» фон
Плавающие квадраты
See the Pen Pure Css Animated Background by Mohammad Abdul Mohaiman (@mohaiman) on CodePen.
Снова диагональные линии
Плывущие облака
Да, в названии заявлено, что все на чистом СSS, но когда я увидел этот фон, не смог не добавить его в коллекцию, несмотря на то, что здесь использован CSS(Less).
Надеюсь, эти идеи вдохновят вас на создание собственных интересных эффектов. Поиграйтесь с приведенными CodePen-ми: возможно, таким образом и у вас родится замечательная идея.