linear-gradient deg
时间: 2023-11-24 11:12:59 浏览: 124
linear-gradient deg是指用于设置线性渐变的角度。在CSS中,通过linear-gradient属性来创建线性渐变背景图像,其中可以指定渐变的方向和颜色。deg表示角度,可以用来指定渐变的方向。例如,linear-gradient(45deg, #000, #fff)表示从左上角到右下角的45度角的线性渐变效果,起始颜色为黑色(#000),结束颜色为白色(#fff)。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [linear-gradient()图像渐变属性详解](https://blog.csdn.net/sunsineq/article/details/114383763)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [CSS 实现渐变效果小结( linear-gradient线性渐变 和 radial-gradient径向渐变)](https://download.csdn.net/download/weixin_38627826/14901356)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文