1) To style all paragraphs with a red color, use the following code: p { color: ______; } a) red; b) #FF0000; c) font-color: red; d) pink; 2) The CSS property to change the background color of an element is: background-_______: #FFFFFF; a) image; b) color; c) light; d) text; 3) To center-align text within a div container, use the following CSS property: ________-align: center; a) align; b) content; c) text; d) font; 4) To create a fixed position navigation bar at the top of the page, use the following CSS property: position: ____________; a) fixed; b) top; c) center; d) sticky; 5) To specify a specific font family for an element, use the following CSS property: font-______: "Arial", sans-serif; a) type; b) family; c) face; d) text; 6) The CSS property to rotate an element by 45 degrees is: transform:_________(45deg); a) skew; b) scale; c) rotate; d) angle; 7) To hide an element from the page layout, use the following CSS property: ______-display: none; a) hidden; b) hide; c) invisible; d) display; 8) The CSS property to add a gradient background to an element is background-_______: linear-gradient(#000000, #FFFFFF); a) image; b) color; c) gradient; d) text; 9) The CSS property to add a drop shadow effect to an element is: ________-shadow: 2px 2px 4px #000000; a) box-shadow; b) shadow; c) effect; d) align; 10) The CSS property to add a transition effect to the color of an element on hover is: ________-transition: color 0.3 ease; a) color; b) hover; c) transition; d) sticky; 11) The CSS property to control the transparency of an element is: _______-opacity: 0.5; a) transparency; b) alpha; c) bravo; d) opacity; 12) To create a horizontal navigation menu, use the following CSS property: display: ______; a) menu; b) inline; c) flex; d) horizontal; 13) To create a responsive two-column layout, use the following CSS property: _______-temple-columns: 1fr 1fr; a) flex; b) column; c) skew; d) grid; 14) To create a circular shape for an element, use the following CSS property: border-_______:50%; a) shape; b) curve; c) radius; d) skew; 15) The CSS property to apply a blur effect to an element is: filter: ________(5px); a) blur; b) opacity; c) shadow; d) contrast;
0%
CSS Quiz
共享
共享
共享
由
Ahmedtarekteima
编辑内容
打印
嵌入
更多
作业
排行榜
显示更多
显示更少
此排行榜当前是私人享有。单击
,共享
使其公开。
资源所有者已禁用此排行榜。
此排行榜被禁用,因为您的选择与资源所有者不同。
还原选项
随堂测验
是一个开放式模板。它不会为排行榜生成分数。
需要登录
视觉风格
字体
需要订阅
选项
切换模板
显示所有
播放活动时将显示更多格式。
打开成绩
复制链接
QR 代码
删除
恢复自动保存:
?