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 代碼
刪除
恢復自動保存:
?