-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
260 lines (251 loc) · 8.04 KB
/
test.html
File metadata and controls
260 lines (251 loc) · 8.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
<!doctype html>
<html lang="en">
<head>
<title>Exercise</title>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<!-- GOOGLE FONTS -->
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600&display=swap" rel="stylesheet">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- NavBar -->
<ul class="navbar navbar-light bg-white mb-0 " id="navId">
<li class="navbar-brand px-5 ">
<a href="#" class="navbar-brand"><img src="download.png" alt="iiitbbsr" width="40px"> Exercise</a>
</li>
<ul class="navbar-nav">
<li class="nav-item">
<a class="test" href="index.html">Need to revise your basics? Click Me!</a>
</li>
</ul>
<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form>
</ul>
<div class="jumbotron p-3 mb-0 custom-jumbotron">
<div class="container mx-4">
<h1 class="display-4">CSS Exercise</h1>
</div>
</div>
<div class="container container-test mt-4">
<p class="question">
1. How can you created rounded corners using CSS3? <br>
<p class="option">
A. border[round]: 30px;<br>
B. corner-effect: round;<br>
C. border-radius: 30px;<br>
D. alpha-effect: round-corner;<br>
</p>
</p>
<p class="question">
2. How do you add shadow to elements in CSS3?<br>
<p class="option">
A. box-shadow: 10px 10px 5px grey; <br>
B. shadow-right: 10px shadow-bottom: 10px; <br>
C. shadow-color: grey; <br>
D. alpha-effect[shadow]: 10px 10px 5px grey; <br>
</p>
</p>
<p class="question">
3. How to you modify a border image using CSS3? <br>
<p class="option">
A. border: url(image.png);<br>
B. border-variable: image url(image.png); <br>
C. border-image: url(border.png) 30 30 round;<br>
D. None <br>
</p>
</p>
<p class="question">
4. How to resize a background image using CSS3? <br>
<p class="option">
A. background-size: 80px 60px;<br>
B. bg-dimensions: 80px 60px; <br>
C. background-proportion: 80px 60px;<br>
D. alpha-effect: bg-resize 80px 60px;<br>
</p>
</p>
<p class="question">
5. How to add text shadow using CSS3?<br>
<p class="option">
A. font: shadowed 5px 5px 5px grey;<br>
B. font-shadow: 5px 5px 5px grey;<br>
C. text-shadow: 5px 5px 5px grey;<br>
D. shadow: text 5px 5px 5px grey;<br>
</p>
</p>
<p class="question">
6. How to force a word wrap using CSS3? <br>
<p class="option">
A. word-wrap: break-word;<br>
B. text-wrap: break-word;<br>
C. text-wrap: force;<br>
D. text-width: set;<br>
</p>
</p>
<p class="question">
7. Which of these are valid CSS3 transformation statements?<br>
<p class="option">
A. matrix()<br>
B. modify()<br>
C. skip()<br>
D. simulate()<br>
</p>
</p>
<p class="question">
8. How to rotate objects using CSS3?<br>
<p class="option">
A. object-rotation: 30deg;<br>
B. transform: rotate(30deg);<br>
C. rotate-object: 30deg;<br>
D. transform: rotate-30deg-clockwise;<br>
</p>
</p>
<p class="question">
9. How to re-size/scale objects using CSS3?<br>
<p class="option">
A. transform: scale(2,4);<br>
B. scale-object: 2,4;<br>
C. scale: (2,4);<br>
D. None<br>
</p>
</p>
<p class="question">
10. How to create transition effects using CSS3?<br>
<p class="option">
A. transition: width 2s;<br>
B. transition-duration: 2s; transition-effect: width;<br>
C. alpha-effect: transition (width,2s);<br>
D. None <br>
</p>
</p>
<p class="question">
11. Look at the code. What piece of code is missing when make a text shadow? #basicTextShadow p{ text-shadow: 1px
1px
3px; }<br>
<p class="option">
A. the color<br>
B. the element<br>
C. the id name<br>
D. the text shadow height<br>
</p>
</p>
<p class="question">
12. Does the box-shadow support all browsers?<br>
<p class="option">
A. true<br>
B. false<br>
</p>
</p>
<p class="question">
13. True or False. In vertical offsets for box shadows, the (-1) means that the box-shadow will be below the
box?<br>
<p class="option">
A. True<br>
B. False<br>
</p>
</p>
<p class="question">
14. What does RGBa mean?<br>
<p class="option">
A. Review Get assistance Back-up your information acquire proof<br>
B. Red Green Blue alpha<br>
C. Red Gray Brown alpha<br>
D. Red Gold Black alpha<br>
</p>
</p>
<p class="question">
15. __________ is a property that allows developers to add rounded corners on the design elements.<br>
<p class="option">
A. Corner<br>
B. Box Shadow<br>
C. Round Corner<br>
D. Border-Radius<br>
</p>
</p>
<p class="question">
16. Box-Shadow is a property that allows developers to apply a....<br>
<p class="option">
A. Border<br>
B. Drop Shadow<br>
C. Rounded Corner<br>
D. Background<br>
</p>
</p>
<p class="question">
17. If you put a value of 0 for a Border-Radius what will happen?<br>
<p class="option">
A. The Corner will curve horizontal.<br>
B. The Corner will be square.<br>
C. The Corner will curve vertical.<br>
D. The world will end.<br>
</p>
</p>
<p class="question">
18. Which prefix do you need to get CSS3 properties to work on older Mozilla Firefox browsers?<br>
<p class="option">
A. -webkit-<br>
B. -moz-<br>
C. -o-<br>
D. -gecko-<br>
</p>
</p>
<p class="question">
19. What does the a stand for in RGBa?<br>
<p class="option">
A. alpha<br>
B. aqua<br>
C. apple<br>
D. about<br>
</p>
</p>
<p class="question">
20. What are the first three values of text-shadow in order?<br>
<p class="option">
A. vertical, blur, horizontal<br>
B. blur, vertical, horizontal<br>
C. vertical, horizontal, blur<br>
D. horizontal, vertical, blur<br>
</p>
</p>
<p class="question">
21. Can you have multiple box-shadows?<br>
<p class="option">
A. yes<br>
B. no<br>
</p>
</p>
<p class="question">
22. How do four values work on border-radius?<br>
<p class="option">
A. top, bottom, left, right<br>
B. up, down, front, behind<br>
C. top-left, top-right, bottom-right, bottom-left<br>
D. bottom-left, bottom-right, top-right, top-left<br>
</p>
</p>
<p>
<a class="ans" href="answers.html">Click here for answers</a>
</p>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
</body>
</html>