好词典

css

UK /ˌsiːesˈes/US /ˌsiːesˈes/

词源

缩写自Cascading Style Sheets,由万维网联盟(W3C)于1996年首次提出。

noun

❶ 层叠样式表(Cascading Style Sheets)的缩写,是一种用于描述网页外观和格式的语言,控制网页的布局、颜色、字体等视觉效果。

“CSS makes it easy to change the look of a website.”

(CSS可以轻松改变网站的外观。)

“She used CSS to style the buttons on her webpage.”

(她用CSS来设计网页上的按钮样式。)

同义词:stylesheet, style sheet, styling

常见短语

inline CSS — 直接在HTML元素中编写的CSS样式,适用于单个元素的快速样式调整。

“He added inline CSS to change the color of the text.”

(他添加了内联CSS来改变文字颜色。)

external CSS — 存储在独立文件中的CSS样式,通过链接引入到HTML文档中,便于统一管理多个页面的样式。

“The website uses an external CSS file for consistent styling.”

(该网站使用外部CSS文件来保持样式一致。)