Learn some interesting animation techniques involving Sass and SVG filters for realistic motion effects on the example of animated animals.
By David Khourshid in Tutorials on March 21, 2016
From our sponsor: Create stunning brand assets with the help of our AI-driven Creative Assistant. Get started today.
Today we want to show you how the clever use of HTML, CSS sequenced animations, and SVG filters can bring to life one of the most unlikely (yet adorable) things to be seen on a web page – animals. We’ll explore two techniques for drawing the animals: one with plain HTML and CSS, and one with inline SVG background images.
This demo is highly experimental – animated SVG filters are currently only available in Chrome.
The animations involved are also complex, so this tutorial will focus on the different techniques involved in creating each of these creatures and their life-like movements. It’s up to you to let your creative juices flow and create unique and playful animated animals on your own.
With that said, let’s get started!
Shaping the Animals
The demos use two different techniques for creating the shapes of the different body parts of the animals. The husky uses CSS border-radius properties, and the fox uses inline background SVG images, as the shapes are more complex.
The Markup
Both animals use nested HTML divisions to group the body parts. The concept of grouping is important for creating life-like movements — when the head moves, the eyes and ears should always move too, as they are attached to the head.
--이하생략
출저 : https://tympanus.net/codrops/2016/03/21/animated-animals-css-svg/
By David Khourshid in Tutorials on March 21, 2016
From our sponsor: Create stunning brand assets with the help of our AI-driven Creative Assistant. Get started today.
Today we want to show you how the clever use of HTML, CSS sequenced animations, and SVG filters can bring to life one of the most unlikely (yet adorable) things to be seen on a web page – animals. We’ll explore two techniques for drawing the animals: one with plain HTML and CSS, and one with inline SVG background images.
This demo is highly experimental – animated SVG filters are currently only available in Chrome.
The animations involved are also complex, so this tutorial will focus on the different techniques involved in creating each of these creatures and their life-like movements. It’s up to you to let your creative juices flow and create unique and playful animated animals on your own.
With that said, let’s get started!
Shaping the Animals
The demos use two different techniques for creating the shapes of the different body parts of the animals. The husky uses CSS border-radius properties, and the fox uses inline background SVG images, as the shapes are more complex.
The Markup
Both animals use nested HTML divisions to group the body parts. The concept of grouping is important for creating life-like movements — when the head moves, the eyes and ears should always move too, as they are attached to the head.
--이하생략
출저 : https://tympanus.net/codrops/2016/03/21/animated-animals-css-svg/

어떤 일이라도 노력하고 즐기면 그 결과는 빛을 바란다고 생각합니다.
최신 글



인기 글



댓글