In this video, I show you more ways to add multiple colors to one div. Ever wanted to add stripes to a div? You can do it in just one line of code!
In this video, I show you how to add multiple colors to one div using linear gradients in CSS. We'll add two colors horizontally, two-colored stripes, multi-colored stripes (horizontal and vertical) and a two-colored circle.
--
const me = {
name: "Leanne 👩🏻",
passions: ["coffee☕️", "code 💻", "cats 🐱"],
unpopular_opinion: "LOVES CSS ❤️",
favorite_colors: ["hotpink", "orangered"],
channel_aim: "Show the world that CSS is fun and web development rules! 👑"
}
--
🐤 Say hi on Twitter: https://twitter.com/RybaLeanne
Download
0 formats
No download links available.
Add stripes to a div | CSS | web development | NatokHD