We encounter animated graphic elements on websites every day. Web developers and designers abandon static and monotonous solutions when creating new websites due to the desire to stand out in the multitude of newly emerging websites. Our diploma thesis deals with preparing and making graphic elements suitable for manipulation and movement on web pages with the help of CSS (Cascading Style Sheets). The theoretical part of the thesis describes web animation and its development, the existing methods in which it can be performed and the differences between CSS and other forms, tools and resources available to us. It also focuses more on the CSS 3 version and its features. Relevant and explained concepts were CSS-animations, CSS transitions and the keyframe rule. The last segment of theoretical work is dedicated to browser support. The experimental work is divided into two parts i.e. planning and making animations. The first part contains the design of the concept for animations and their elements. This was followed by creating graphics and their export into a form ready for animation use. Graphic elements were created in a vector design program. Each graphic represents a particular vehicle suitably prepared for animation use: a car, a balloon, a submarine and a spaceship. During the second part, the graphics were animated with the help of CSS and code commands were written based on the desired movement. Then the written code was optimized for browser support. The last part of the experimental work tests the animations in two different browsers. In the results, the success of the experiment, the difficulty and the time consumption of the process were determined, as also whether or not our initial goal was achieved. The difficulty and time consumption of the experiment depended on the number of graphic elements and the complexity of the desired movement. In the conclusion of the diploma thesis, the main viewpoints were formed regarding the usefulness, functionality and practicality of CSS as a tool for web animation.
|