:focus
:active
:hover
:visited
Selects all elements
Selects all siblings after a specified element
Selects only the first sibling of a specified element
Selects only the last sibling of a specified element
CSS
jQuery
JavaScript
PHP
Match the CSS User Action Pseudo-Class with Its Effect
A → 4, B → 3, C → 2, D → 1
A →5, B → 4, C → 3, D → 2
A → 6, B → 2, C → 3, D → 4
A → 5, B → 2, C → 3, D → 6
content p
p.content
.content > p
p .content
Some selectors can lead to cross-browser issues
Cannot request a webpage through CSS
Parent Selector tag is always available
Cannot always assure compatibility with every browser
Inline CSS
Internal CSS
Embedded CSS
External CSS
text-color
color
font-color
All of These
absolute
static
fixed
relative
E#id
.class
#id
*
text-decoration: bold
font-weight : bold
font-style: bold
text-align: bold
Padding is used to create space around an element's content, inside of any defined borders.
There are properties for setting the padding for each side of an element.
To shorten the code, it is possible to specify all the padding properties in one property.
All of the options
margin: 20px 20px 30px 30px
margin: 30px 20px
margin: 20px 30px
margin: 30px 30px 20px 20px
.example
#example
element.example
example
In the <body> section
At the end of the document
In the <head> section
Any Where in a Page
p{font-style: "Times New Roman";}
p{font-family:"Times New "roman",Times,serif;}
p{font-weight:"Times New Roman",Times,serif;}
None of these
:valid
:required
:optional
:invalid
ID selector
Class selector
Group selector
Universal selector
.(dot)
# (hash)
* (asterisk)
@ (at sign)
Selects the first child of an element
Selects all sibling elements
Selects the immediately next sibling of an element
Selects the parent of an element
mouse over
mouse hover
hover
mouse move
:target
:selection
::selection
URO
list-image
bullet-image
list-style-image
image-style
color:red, text-decoration:underline works
only font-style:italic works
color:red, text-decoration:underline and font-style:italic all works
text-decoration:underline and font-style:italic works
Opacity
Visibility
Stacking order
Font size
Universal Selector (*)
Tag Selector
Class Selector
ID Selector
Match the CSS Position Property with Its Meaning
A → 5, B → 4, C → 3, D → 1
A → 2, B → 4, C → 3, D → 1
A → 5, B → 4, C → 3, D →6
A → 4, B → 5, C → 3, D → 1
font-weight
font-style
text-decoratio
text-weight
Style sheets allow content to be optimized for more than one type of device.
CSS can store web applications locally With the help of an offline cache
Using CSS, we can view online website. In cache also ensures faster loading and better overall performance of the website.
All of the above.
:element
:empty
:enabled
Creating Style Sheets
Cascading Style Sheets
Computer Style Sheets
Colorful Style Sheets
clear
overflow
z-index
display
rect
crosshair
auto
inherit
border-style
border-radius
border-collapse
border-spacing
The size of the text-shadow
he Y-coordinate of the text-shadow
The X-coordinate of the text-shadow
The blur radius
:root
:nth-of-type(n)
:only-child
none of the mentioned
css
style
script
link
input:checked
input:focus
input:hover
input:active
Easier to maintain and update.
Greater consistency in design.
More formatting options.
All of the above
bright
hidden
ridge
groove
focus
active
checked
Easier to maintain and update
Greater consistency in design
ul > li
ul li
ul + li
ul ~ li
style:bold;
font:bold;
font-weight:bold;
text:bold;
:default
:%
:disabled
tag
id
class
both class and tag
Combinator selector
Pseudo Class selector
Pseudo elements selector
Attribute selector
flex-order
order
flex-direction
item-order
REL
URL
REV
all of these
border-width
border-bottom
border-width-bottom
border-bottom-width