CSS怎么设置背景颜色?使用属性background或者background-color进行设置。设置的颜色属性值可以使用16进制、rgba、rgb、颜色名称等进行设置,如"background:blue"。1、可以同时使用背景色和背景图,具体2023-03-02html-css80