
Learn to create modern CSS gradients and SVG gradients, including linear, radial, and conic options, and compare CSS versus SVG approaches for web pages.
Join the course's discord community for help with css gradients, svg gradients, and animations; access announcements and channels: general questions, css gradients, svg gradients, and animations and image legacy gradients.
Learn to create CSS linear gradients, control direction with angles and sides, layer multiple gradients, and compose patterns and rainbow effects, including transparency and background overlays.
Create a two-color linear gradient from bluish to reddish, top left to bottom right, using the linear gradient function and a background image property in CSS.
Explore css radial and conic gradients, using radial-gradient() and conic-gradient() with center positioning, sizes, and multiple colors. Learn to layer gradients, switch shapes, and apply inline styles for logos.
Create a circular radial gradient using bluish and reddish colors, with the center at the bottom left, as a background image; adjust size using keywords to reach the furthest corner.
Explore how to create and embed SVG linear gradients, compare SVG with CSS gradients, and control direction, stops, opacity, and viewbox using inline SVG and id references.
Explore creating radial gradients with svg and reproduce css gradients, using gradient stops, radius, and center positioning to control placement such as bottom, top left, and top right.
Reproduce CSS and SVG gradients with raster images, using the background property, transparency, and multi-layer composition, and compare with modern CSS gradient methods.
Animate a linear gradient background with CSS by using background-size, keyframes, and an infinite loop to create smooth left-to-right gradient motion.
Complete this course with a sense of achievement and stay active in the community, share your amazing effects in discussions, and rate the course five stars.
This all-levels course will guide you through the process of learning and practicing creation of modern CSS gradients on your site. Learn how to use CSS and SVG gradients. Multiple ideas how to obtain gradient backgrounds with CSS linear-gradient(), radial-gradient(), conic-gradient() functions, as well as SVG <linearGradient> and <radialGradient> tags.
My name is Dr. Artur Karczmarczyk. I am a Full-Stack Web Developer and Software Engineer with over 16 years of commercial experience. I am also an Associate Professor at a well-known Technical University in Poland. I have taught IT and web development to hundreds of students.
By the time you finish this course, you'll be able to create basic and advanced gradients and patterns in both CSS and SVGs. We will compare how CSS gradients differ from SVG gradients and which are better for your use case!
CSS linear-gradient() and repeating-linear-gradient() functions allow to compute amazing gradients without the need to use external graphics software. On the other hand, SVG provides similar capabilities, are rendered inside browser the same as CSS gradients, yet you can create and customize the gradients in an external graphic tool such as Adobe Illustrator, Affinity Designer or free Inkscape, Figma, Canva etc.
In the next hour I will guide you through all the modern and legacy ways how to create and use a gradients on your site. We will start by creating linear gradients using CSS linear-gradient() function. Then we will produce more fancy gradients with the use of radial- and conic-gradient() CSS functions.
In the second section, we will use SVG - scalable vector graphics - and try to reproduce the effects from the CSS section. This will allow you to compare pros and cons of both technologies.
Finally, we will have some fun going legacy and seeing how the world looked when CSS did not have gradient creation capabilities, and when SVGs were barely supported.
This course is for you if you want to learn modern up-to-date CSS3 and SVG gradient skills in an agile, hands-on, no-nonsense manner. So don't hesitate and enroll to this course for free!