Fiverr CSS 3 Test Answer Top 10%
In this blog, you will know how you can easily pass CSS 3 Fiverr test. Our experts will provide you CSS 3 skill test answers. Our team also try to help to get a 10/10 score on the CSS 3 skill test answer.
CSS 3 Test Answers Here:-
Which
of the following is not a valid page break?
Answers:
1.
page-break-inside
2. page-break-outside
3.
page-break-before
4.
page-break-after
5.
None of these
Which
statement is correct given the following?
box-shadow:30px
20px 10px 5px black;
Answers:
1.
The shadow will be spread out to 30px top, 20px right, 10px
bottom, 5px left.
2. The position of the horizontal black shadow is 30px and the position of
the vertical black shadow is 20px and blur distance is 10px and size of shadow
is 5px.
3.
The position of the vertical black shadow is 30px and the position
of the horizontal black shadow is 20px and size of shadow is 10px and blur
distance is 5px.
4.
The shadow will be spread out to 30px top and bottom, 20px left
and right with 10px blur distance, 5px shadow size.
The
min-width property cannot be applied to the following element:
Answers:
1.
button
2.
span
3. table row
Given
the following problem:
A
drop shadow needs to appear only at the bottom, and no images should be used.
Consider
the following code:
-moz-box-shadow:
0px 4px 4px #000;
-webkit-box-shadow:
0px 4px 4px #000;
box-shadow-bottom:
5px #000;
However,
this produces shadows on the rest of the element.
Which
of the following code snippets will correct the issue?
Answers:
1.
border-bottom:5px solid #ffffff; -webkit-box-shadow: 0px 5px
#000000; -moz-box-shadow: 0px 5px #000000; box-shadow: 0px 5px #000000;
2. -webkit-box-shadow: 0 4px 4px -2px #000000; -moz-box-shadow: 0 4px 4px
-2px #000000; box-shadow: 0 4px 4px -2px #000000;
3.
-webkit-box-shadow: 0 4px 4px -2px inside #000000;
-moz-box-shadow: 0 4px 4px -2px inside #000000; box-shadow: 0 4px 4px -2px
inside #000000;
4.
None of these.
Consider
the following code:
body
{ text-replace: “a” “b” “b” “c” }
What
will be the output of the following string if the text-replace style is
implemented?
andy
lives behind cafe
Answers:
1.
ndy lives behind cbfe
2. cndy lives cehind ccfe
3.
andy lives behind cafe
4.
andy lives cehind bafe
What
is the default value of the transform-style property?
Answers:
1.
preserve-3d
2. flat
3.
none
4.
preserve
What
will be the output of the following code?…
<style>
.foo
{
width:100px;
height:50px;
border-width:3px;
-webkit-border-image:
-webkit-gradient(linear,
0 0, 0 100%, from(black), to(red)) 1 100%;
-webkit-border-image:
-webkit-linear-gradient(black,
red) 1 100%;
-o-border-image:
-o-linear-gradient(black,
red)) 1 100%;
-moz-border-image:
-moz-linear-gradient(black,
red) 1 100%;
}
</style>
…
<div
class=”foo”>Lorem</div>
Answers:
1.
The text “Lorem” will be colored black-red.
2.
The div element will be colored black-red.
3. The border of div element will be colored black-red.
4.
None of these.
Which
of the following styles is not valid for an image?
Answers:
1.
img { float= left }
2.
img { float: left here }
3.
img { background: “black” }
4.
img { border-width: 10 }
5. All of the above
Suppose
that a <tr> tag has 10 <td> tags. In this case which statement is
correct given the following?
td:nth-child(3n+0){
background-color:
orange;
}
Answers:
1.
It returns a syntax error.
2.
The background color of the fourth td will be orange.
3.
The background color of the third td will be orange.
4. The background color of every third td will be orange.
What
is the best method to select all elements except for the last one in an
unordered list?
Answers:
1.
Adding a class to each <li> element but last
2. Using li:not(:last-child) css selector
3.
Using li:last-child selector
4.
None of the above
Which
of the following will apply a black inner glow with 25% opacity to a page
element?
Answers:
1.
box-shadow: 0 0 8px rgba(255,255,255, 0.25);
2. box-shadow: inset 0 0 8px rgba(0,0,0, 0.25);
3.
box-shadow: 0 0 8px rgba(255,255,255, 25%);
4.
box-shadow: inset 0 0 8px rgba(0,0,0, 25%);
Which
of the following is the initial value for the column-fill property?
Answers:
1.
auto
2. balance
3.
none
Which
of the following can be used to add a shadow around the div element below?
<div>Lorem
ipsum</div>
Answers:
1. box-shadow: 0 0 8px 2px #888;
2.
border-shadow: 0 0 8px 2px #888;
3.
div-shadow: 8px 2px 0 0 #888;
4.
None of these
Which
of the following will decrease 50px from a DIV element whose width is 100%?
Answers:
1. width: calc(100% – 50px);
2.
width: reduce(100% – 50px);
3.
width: decrease(100% – 50px);
4.
width: 100% – 50px;
Which
of the following properties specifies the minimum number of lines of a
paragraph that must be left at the bottom of a page?
Answers:
1. orphans
2.
widows
3.
bottom
4.
overflow
5.
None of these
What
is the maximum value that can be given to the voice-volume property?
Answers:
1.
10
2. 100
3.
500
4.
None of the above
What
is the initial value of the font-size property?
Answers:
1.
small
2. medium
3.
large
4.
default
Is
there a way to create a pure CSS3 text color gradient?
Answers:
1.
Yes, using the text-gradient property.
2.
Yes, but only for headings.
3. There is no way to do a text color gradient with CSS3.
4.
None of the above.
Consider
the following code:
border-opacity:0.7;
Given
a div element that needs to have a transparent red border, which of the
following code samples will work in conjunction with the code above to
accomplish the requirement?
Answers:
1. border: 1px solid rgba(255, 0, 0, 0.7);
2.
border: 1px solid rgb(255, 0, 0, 0.7);
3.
border: 1px solid rgba(255, 255, 0, 0.7);
4.
border: 1px solid red; opacity: 0.7;
What
is the initial value of the animation-iteration-count property?
Answers:
1. 1
2.
5
3.
None
What
is the default value of the animation-direction property?
Answers:
1.
none
2. normal
3.
alternate
4.
inherited
Is it
possible to use transition animations with a gradient background?
Answers:
1.
Yes
2. No
What
is the difference between float:left; vs display:inline-block; ?
Answers:
1.
There is no difference, both of them have the same results.
2. display:inline-block; adds whitespace between the elements.
3.
float:left; collapses the parent element on itself.
4.
None of these.
What
is the range of values (in decimal notation) that can be specified in the RGB
color model?
Answers:
1.
0 to 256
2. 0 to 255
3.
-250 to 250
4.
-255 to 255
Which
of the following are not valid values for the target-new property?
Answers:
1.
window
2.
tab
3.
none
4. parent
5.
current
What
will be the output of the following rule?
em {
color: rgba(0,0,255,1) }
Answers:
1.
Opacity 1 with solid red color
2.
Opacity 0 with solid blue color
3.
Opacity 0 with solid red color
4. Opacity 1 with solid blue color
5.
None of these
While
rendering the following code, what is the role of “src” propery?
@font-face
{
font-family:
“calibriforh1”;
src:
local(“calibri”), url(calibri.woff);
}
h1 {
font-family: “calibriforh1”, arial, sans-serif; }
Answers:
1. It’s for searching the user’s system for a “calibri” font, and if it does
not exist, it will load the font from the server instead.
2.
It’s for searching the user’s system for a “calibri” font, and if
it does not exist, it will load user’s system’s default font instead.
3.
It’s for loading the user’s system’s default font.
4.
None of these.
Which
of the following statements is true with regard to CSS3 transitions?
Answers:
1.
Using CSS transitions will slow down page upload and produce lag.
2. The completion of a CSS transition generates a corresponding DOM event.
An event is fired for each property that
3.
undergoes a transition. This allows a content developer to perform
actions that synchronize with the completion of a transition.
4.
CSS transitions allow DOM events in CSS values to occur smoothly
over a specified duration.
5.
None of these.
Given
that one div element needs to be hidden and on active state needs to be
displayed, what will be the output of the following code?
div {
display:
none;
-webkit-transition:
opacity 1s ease-out;
opacity:
0;
}
div.active
{
opacity:
1;
display:
block;
}
Answers:
1. On active state the element is displayed.
2.
On active state the element’s opacity is changed to 1.
3.
On active state the element’s opacity is changed to 0.
4.
Nothing will be shown.
Which
of the given options is/are equivalent to the following rule?
DIV {
line-height: 1.2; font-size: 10pt }
Answers:
1. DIV { line-height: 1.2em; font-size: 10pt }
2.
DIV { line-height: 12em; font-size: 10pt }
3.
DIV { line-height: 120%; font-size: 10pt }
4.
DIV { line-height: 20%; font-size: 10pt }
5.
DIV { line-height: 80%; font-size: 10pt }
What
will happen if the following style declaration is applied to an element?
p {
margin: 3em 2em }
Answers:
1. The top and the bottom margins will be 3em and the left and the right
margins will be 2em.
2.
The top and the bottom margins will be 2em and the left and the
right margins will be 3em.
3.
The top and the left margins will be 3em and the bottom and the
right margins will be 2em.
4.
The top and the right margins will be 2em and the bottom and the
left margins will be 3em.
Do You Take Fiverr CSS 3 Test?
How Much You Get Marks?
0 Comments