CSS Exam
Which of the following is NOT a valid pseudo-class? - ANS-:test
What is the right way to select every 4th paragraph? - ANS-p:nth-of-type(4n)
Which of the following are true about Flexible Box? - ANS-2. Flexbox consists of flex
containers and flex items.
1. Inside a flex container there is one or more flex items.
Which of the following are valid multi-column properties? - ANS-ALL OF THESE ARE
CORRECT
1. Column-count
2. Column-gap
3. Column-rule-style
4. Column-rule-width
Which of the following is NOT a valid media type for media query? - ANS-small
Which of the following are valid selectors? - ANS-3. a[href^="https"]
2. p: last-of-type
1. p:empty
The ___ property indicates whether a cell without any content should have a border
displayed. - ANS-empty-cells
Which of the following is multi-column properties? - ANS-3. column-rule
2. column-width
1. column-span
Which of the following is NOT a valid feature supported in meda query? -
ANS-Backround-color
Why isn't it possible to unite webkit-border radius and -moz-border-radius? -
ANS--webkit- and -moz- are vendor-specific prefixes and are not standard CSS3
properties.
you can set border-box for all Elements using the following code? - ANS-* {
-webkit-box-sizing: border-border box;
Which of the statements are true? - ANS-2. A block-level element always starts on a
new line and takes up the full width available.
1. An in-line element does not start on a new line and only takes up as much width as
necessary.
Screen REsolution refers to the number of dots a screen shows per? - ANS-inch
Which of the following statements is true about z-index in CSS3? - ANS-z-index only
affects positioned elements.
The __ specifies whether a border should be solid, dashed line, doted line, double line,
groove etc. - ANS-border-style
Which of the following is not a valid 3D transform method? - ANS-perspective3D()
the__ property allows to specify the distance between the list and the text relating to the
list, - ANS-marker-offset
The style given below is applied to which of the given options?
p.wrapper #h2 {
font-size: 18px;
margin-top: 0;
} - ANS-Type 2 Heading with ID sub inside Element P with class wrapper.
What will be the output of the following code?
<style>
.foo {
width: 100px;
height: 50px;
border-width:3px;
-webkit-border-image:
-webkit-gradient() 1 100%;
-webkit-border-image:
ETC ETC
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Hkane. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $7.99. You're not tied to anything after your purchase.