๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
CSS๐Ÿ”ง/css

css gradient ๊ทธ๋ผ๋””์–ธํŠธ ํšจ๊ณผ

by hyojinny 2022. 9. 23.

.main_section01{
    background: rgb(238,174,202);
    background: radial-gradient(circle, rgba(238,174,202,1) 0%, rgba(148,187,233,1) 100%);
}
.main_section01{
    background: linear-gradient(45deg,red,green,blue);
}

 

 

.main_section01{
    background: linear-gradient(45deg,red 40%,green 50%,blue) 60%;
}

ํผ์„ผํŠธ๋กœ ์กฐ์ ˆ๊ฐ€๋Šฅ

 

 

https://cssgradient.io/

 

CSS Gradient — Generator, Maker, and Background

As a free css gradient generator tool, this website lets you create a colorful gradient background for your website, blog, or social media profile.

cssgradient.io

 

 

css ์ฝ”๋“œ ๋ณต์‚ฌ ๋ถ™์—ฌ๋„ฃ๊ธฐ 

 

 

 

 

.main_section01{
    /* IE ํ•˜์œ„๋ฒ„์ „์šฉ */
    background: rgb(238,174,202);
    
    background: radial-gradient(circle, rgba(238,174,202,1) 0%, rgba(148,187,233,1) 100%);
}

์œ„ ์ฝ”๋“œ๋Š” ์ต์Šค ํ•˜์œ„๊ณ ์ •์šฉ ์ด ๊ฐ™์ด ๋‚˜์˜จ๋‹ค

 

 

 

 

radial-gradient

 

.main_section02 {
    background: radial-gradient(circle,red, green, blue);
}

๋™๊ทธ๋ผ๋ฏธ๋Š” ๊ฐ๋„๊ฐ€ ์•ˆ๋“ค์–ด๊ฐ

๋Œ“๊ธ€