Subscribe to our latest HTML/CSS channel newsletter and click here to subscribe .
The following are our latest front-end resources:
- More than 20 free front-end learning resources provided by Louis Lazaris
- Donovan Huchinson's new CSS animation course
Front-end learning resources
As front-end developers, we have a responsibility to master the latest technologies and tools to make our final products easy to use, easy to access, and, why not, beautiful.
Louis Lazaris shares with us an issue 11 list of more than 20 free documents and guides he offers for front-end developers.
This list is impressive and includes resources on functional programming, ES6, progressive web applications, accessibility and more. Feel free to choose the resources you like. For me, the CSS reference and typography manual is a resource I checked out immediately.
CSS Reference
CSS Reference is a visual guide in which CSS attributes are organized into:
- Animation
- Background
- Box Model
- Flexbox
- Positioning
- Transition
- Typeline
You can also access a list of all CSS properties alphabetically.
This guide explains each attribute and possible values in clear and simple terms and provides excellent visuals to illustrate the results.
Typeline Manual
Any tool that teaches excellent web typography principles, best practices, and code in a practical and accessible way is worth my recommendation. In my opinion, the typography manual does this.
This is an open source project on GitHub, covering:
- Type design
- Font
- Web Style Guide
The last part specifically shows a considerable number of code examples, focusing on topics such as relative units, vertical space, font size, and color.
If you find most resources about web typography a little scary and full of terminology, the typography manual will surprise you (absolutely a good surprise).
Web animation
We have evolved to be very good at noticing motion…Observing motion and visual cues enables us to understand complex movements and ideas in a nonverbal way.
Animation on the web can take advantage of the same effect and can add additional depth and meaning to the conversation between the user and the user interface.
Use CSS animation to give website vitality—Donovan Hutchinson & Guy Routledge
Animation has become a key element in web design and development. User interface designers teach us how to use subtle animation effects to help users perform tasks on a website, preventing boredom when visitors wait for resources to load, and guiding readers' attention as they scan web content.
At present, the most common way to animate web content is:
- CSS transition and @keyframes animation
- JavaScript
To learn more about web animation, SitePoint Premium offers a brand new course—animation using CSS—titled by animation superstar Donovan Hutchinson.
This course covers the principles of effective user interface animation and its implementation of using CSS transition and @keyframes, easing and timing functions, multiple animations, scrolling animations, browser support and accessibility.
If you prefer articles, here are just some of my favorite SitePoint posts:
- Animation suggestions from CSS masters. This is a record of SitePoint's live Q&A with Tiffany Brown, hosted by Angela Molina
- 4 Tips for Gabrielle Gosha on Using Animation in Design
- Understand the CSS animation-fill-mode attribute, by Louis Lazaris
- Animation: Use easing to create smarter interactions by Daniel Schwarz
- Use the Web Animation API to bring the page to life by Dudley Storey.
Using CSS for web animation is still my preferred method, but in some cases you need a strong JavaScript library to get the job done.
For complex web animations that require JS solutions, please check out my series "Beyond CSS: Dynamic DOM Animation Library". The first part describes how to use Anime.js, and the second part describes how to use KUTE.js, a powerful modular open source animation engine, to animate DOM.
Stay tuned, more content will be released soon.
If you want to see a JavaScript animation library in this series, please contact us!
Featured image provided by Unsplash.com
Frequently Asked Questions about CSS AnimationWhat is the difference between CSS transition and CSS animation?
CSS transition and CSS animation are both powerful tools for creating smooth, engaging animations on your website. The main difference between the two is their level of control and complexity. The CSS transition is simpler and is used to create simple animations that occur as a result of a state change, such as hovering over an element. CSS animations, on the other hand, provide more control and complexity. They allow you to create more complex animations with multiple steps and stages, and they can run independently of any user interaction.
How to start learning CSS animation?
There are many resources available online to help you start learning CSS animation. Websites such as Udemy, Scrimba and Codecademy offer comprehensive courses on this topic. You can also refer to the Mozilla Developer Network (MDN) documentation for more technical and detailed guides. The key to learning CSS animation is practice, so make sure to apply what you have learned through projects and exercises.
Can I use CSS animation on any website?
Yes, CSS animations can be used on any website. However, it should be noted that not all browsers support all CSS animation properties. Therefore, it is always recommended to check the compatibility of the CSS properties you are using to make sure your animations work properly in all browsers.
Is CSS animation resource-intensive?
If handled improperly, CSS animations may take up a lot of resources. However, by optimizing your animations and using properties that trigger minimal redraw and rearrangement, you can create smooth, efficient animations without significantly affecting the performance of your website.
What are the keyframes in CSS animations?
Keyframes are used in CSS animations to define the stages of the animation. They allow you to specify the style of elements at each point in the animation, thus creating a series of animation effects.
How to make my CSS animation responsive?
To make your CSS animation responsive, you can use media queries to adjust animation properties based on screen size. This allows you to create animations that look and work well on all devices, regardless of their screen size.
Can I use CSS animations with JavaScript?
Yes, you can use CSS animations with JavaScript to create more complex and interactive animations. JavaScript can be used to control the timing, sequence and behavior of animations, thereby providing a higher level of control and interactivity.
How to debug my CSS animation?
CSS animations can be debugged using developer tools in the browser. These tools allow you to check animation properties, check timings, and view animation sequences in slow motion.
Can I use CSS animations to improve the user experience of the website?
Absolutely! CSS animations can greatly enhance the user experience of your website by increasing visual interest and interactivity. They can be used to guide users’ attention, provide feedback, and create a more engaging and dynamic user interface.
What are the limitations of using CSS animation?
While CSS animation is a powerful tool, it does have some limitations. They can take up a lot of resources, especially for complex animations, and not all animation properties are supported by all browsers. Additionally, using CSS to create complex animations can be more challenging and time-consuming than using JavaScript or other animation libraries.
The above is the detailed content of Awesome Front-end Resources and CSS Animation Course. For more information, please follow other related articles on the PHP Chinese website!

A fascinating new site called The Markup just launched. Tagline: Big Tech Is Watching You. We’re Watching Big Tech. Great work from Upstatement. The

I posted about parsing an RSS feed in JavaScript the other day. I also posted about my RSS setup talking about how Feedbin is at the heart of it.

Learn how to create a custom CodePen block with a preview for Sanity Studio, inspired by Chris Coyier’s implementation for Wordpress’ Gutenberg editor.

Line, bar, and pie charts are the bread and butter of dashboards and are the basic components of any data visualization toolkit. Sure, you can use SVG

We are always looking to make the web more accessible. Color contrast is just math, so Sass can help cover edge cases that designers might have missed.

Tartan is a patterned cloth that’s typically associated with Scotland, particularly their fashionable kilts. On tartanify.com, we gathered over 5,000 tartan

Not long ago, I posted about PHP templating in just PHP (which is basically HEREDOC syntax). I'm literally using that technique for some super basic

Have you ever clicked on an image on a webpage that opens up a larger version of the image with navigation to view other photos?


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

SublimeText3 Chinese version
Chinese version, very easy to use

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.