40 Questions
What is the purpose of the transform property in CSS?
To change the capitalization of a text
What is the default value of the word-spacing property?
normal
What is the purpose of the letter-spacing property?
To increase or decrease the space between characters in a text
How many CSS font properties are mentioned in the content?
5
What is the purpose of the font-family property?
To specify the font for an element
What is the effect of the 'none' value on the transform property?
It produces no capitalization effect at all
What is the purpose of the font-size property?
To change the size of a text
What is the default value of the letter-spacing property?
normal
What are the two types of font families that can be used?
Specific Font-Family and Generic Font-Family
What is the default value of the font-weight property?
400
What is the purpose of the font-style property?
To specify the font style
What is the syntax for the font-family property?
font-family: family-name|generic-family;
What is the value of the font-weight property that defines thick characters?
700
What is the purpose of the Generic Font-Family?
To provide a general font that is supported by most browsers
What is the syntax for the font-style property?
font-style: normal | italic | oblique;
What is the effect of the oblique value on the font-style property?
The text is 'leaning' (oblique is very similar to italic, but less supported)
What is the effect of a negative value on the vertical position of a box shadow?
It puts the shadow above the box
What is the purpose of the spread radius in the box-shadow property?
To increase or decrease the size of the shadow
What is the default value of the blur radius in the text-shadow property?
0
What is the effect of the inset value in the box-shadow property?
It changes the shadow from an outer shadow to an inner shadow
What is the purpose of the initial value in the box-shadow property?
To set the shadow to its default value
What is the syntax for the text-shadow property?
text-shadow: h-shadow v-shadow blur-radius color
What is the effect of a positive value on the vertical position of a box shadow?
It puts the shadow below the box
What is the default value of the text-shadow property?
none
What is the purpose of the p.intro::first-letter
pseudo-element in the given example?
To change the font size and color of the first letter of the paragraph
What is the benefit of the real-time exposure provided by Skywin IT Academy?
It helps students to learn the IT courses effectively and be job ready
What is the purpose of the p::first-line
pseudo-element in the given example?
To change the font variant and color of the first line of the paragraph
What type of courses are offered by Skywin IT Academy?
Long-term certificate courses
What is the benefit of the team of industry experts and experienced professional trainers at Skywin IT Academy?
They provide lifetime support to students
What is the purpose of the body
selector in the given example?
To change the background color of the body
What is unique about the learning experience provided by Skywin IT Academy?
It is based on integrated learning solutions
What is the result of the training services provided by Skywin IT Academy?
Students get job placement
What is the purpose of the justify-content property in flexbox?
To align flex items horizontally on the main-axis
What is the default value of the justify-content property?
flex-start
What is the purpose of the align-items property in flexbox?
To align flex items vertically on the cross-axis
What is the default value of the align-items property?
stretch
What is the purpose of the align-content property in flexbox?
To modify the behavior of the flex-wrap property
What is the syntax for the flex-flow property in flexbox?
flex-flow: flex-direction flex-wrap;
What is the effect of setting justify-content: space-between on a flex container?
Flex items are distributed evenly on the main-axis with equal space between them
What is the difference between align-items and align-content properties?
align-items aligns flex items vertically, while align-content aligns flex lines
Study Notes
CSS Text Properties
- The
transform
property is used to change the capitalization of text, with values includinguppercase
,lowercase
,capitalize
, andnone
. - The
word-spacing
property is used to increase or decrease the space between words, with values includingnormal
and a specified length (e.g.5px
). - The
letter-spacing
property is used to increase or decrease the space between characters, with values includingnormal
and a specified length (e.g.5px
).
CSS Fonts
- The
font-family
property specifies the font family, with options including specific font families (e.g.Arial
,Verdana
) and generic font families (e.g.serif
,sans-serif
). - The
font-style
property specifies the font style, with values includingnormal
,italic
, andoblique
. - The
font-weight
property specifies the font weight, with values includingnormal
,bold
,bolder
,lighter
, and a specified number (e.g.400
).
CSS Text Shadow
- The
text-shadow
property is used to add shadows to text, with values including the horizontal and vertical shadow positions, blur radius, and color. - The default value is
none
.
Pseudo-elements and HTML Classes
- Pseudo-elements are used to style specific parts of an HTML element, such as the first letter or first line of a paragraph.
- HTML classes are used to apply styles to specific elements.
Multiple Pseudo-elements
- Multiple pseudo-elements can be used to style different parts of an HTML element.
Flexbox Properties
- The
flex-flow
property is used to specify the direction of the flex items and whether they wrap to a new line. - The
justify-content
property is used to align flex items horizontally, with values includingcenter
,flex-start
,flex-end
,space-around
, andspace-between
. - The
align-items
property is used to align flex items vertically, with values includingcenter
,flex-start
,flex-end
, andstretch
. - The
align-content
property is used to modify the behavior of theflex-wrap
property, aligning flex lines instead of flex items.
Quiz about different text transformations in CSS, including uppercase, lowercase, and capitalize. Test your knowledge of CSS syntax and properties.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free