CSS

Animating SVGs you own this product

This project is part of the liveProject series CSS Animations and Transitions
prerequisites
basic HTML • basic CSS
skills learned
animate SVGs
Martine Dowden
1 week · 6-8 hours per week · INTERMEDIATE
filed under

placing your order...

Don't refresh or navigate away from the page.
liveProject This project is part of the liveProject series CSS Animations and Transitions liveProjects give you the opportunity to learn new skills by completing real-world challenges in your local development environment. Solve practical problems, write working code, and analyze real data—with liveProject, you learn by doing. These self-paced projects also come with full liveBook access to select books for 90 days plus permanent access to other select Manning products. $19.99 $29.99 you save $10 (33%)
Animating SVGs (liveProject) added to cart
continue shopping
adding to cart

Look inside

Bring My Little Cookie Shop’s logo to life.The website already looks pretty nice, but Max, the owner, has hired you to sweeten it even more. Using keyframes and CSS properties within the SVG code itself, you’ll animate the logo with blinking stars and rotating text, then create the illusion of drawing a path. The logo includes two thin circles around a central design; you will make it look like those circles are being drawn and erased as the animation loops.

This project is designed for learning purposes and is not a complete, production-ready application or solution.

book resources

When you start your liveProject, you get full access to the following books for 90 days.

project author

Martine Dowden

An award-winning CTO, UX/UI designer and developer, international speaker, and author, Martine focuses on web interfaces that are beautiful, functional, and accessible. She approaches user experience from both art and science perspectives, drawing from her degrees in psychology and visual communications. She has worked as a developer, artist, educator, and consultant since 2005. To stay active in the industry she writes articles, leads workshops, and speaks at conferences and meetups worldwide. Her favorite topics to present are frontend web development, CSS, user experience, interaction design, accessibility, and Firebase. In recognition of her work in the community, she was awarded and still maintains the Google Developer Expert (GDE) status and the Microsoft Most Valuable Professional (MVP).


In 2015, she published a children’s book, Programming Languages ABC++, of which the workbook edition sold over 20,000 copies in 2016. She then went on to write Approachable Accessibility: Planning for Success, which was released in June 2019, and Architecting CSS: The Programmer’s Guide to Effective Stylesheets in 2020.


Currently, she is the CTO at Andromeda Galactic Solutions where she continues to learn, work on, and share her passion for frontend development.

prerequisites

This liveProject is for frontend developers who know how to write an HTML page with divs, paragraphs, images, buttons, links, and form fields. To begin these liveProjects you will need to be familiar with the following:


TOOLS
  • HTML
  • CSS
  • SVG
  • A code editor of your choice (for example Visual Studio Code, Atom, Notepad++)
  • A modern browser (for example Chrome, Firefox, Edge)
TECHNIQUES
  • Basic HTML
  • Basic CSS

you will learn

In this liveProject, you’ll learn to animate an SVG with blinking stars, rotating text, and drawing circles:


  • Use keyframes to animate svg elements
  • Control the origin of the animation
  • Use stroke-dashoffset to animate the drawing of an element

features

Self-paced
You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.
RECENTLY VIEWED