Professional Documents
Culture Documents
PRAYER
CHECKING OF
ATTENDANCE
LET’S PLAY A
GAME!
GUESS THE PICTURES
:focus
This is used to point and style an input field when it gets focus or is currently being
used.
::before
This is used to place a content before the specified element.
Example:
Note: The content property is where you should specify the content
you intent to insert before the element.
::after
This is used to place a content after the specified element.
Example:
Note: The content property is where you should specify the content
you intend to insert after the element.
Supplementary
Education/Learning:
https://www.w3school
s.com/css/css_form.a
sp
LET’S TRY IT!
21
FORM
STYLE
Contact Page is where site visitors can leave a
message for the owner of the website. You
noticed that it's a little bit plain and boring that
is why you thought of styling the contact form.
Keep Your forms up-to-date and not boring by
styling its elements.
FORM
STYLE
Instruction: Download
sites.zip file. Enhance the
contact form by applying
the skills you've learned
during the lecture and
hands on exercise of this
meeting.
Values Integration
Knowing the Importance of choosing a proper Designing for
your forms….
1 Which among the following selectors points and styles an input field when
it gets focus?
A. :checked
B. :focus
C. :valid
2 Which among the following selectors points and styles input fields that are
not necessary?
A. :invalid
B. :required
C. :optional
3 Which among the following selectors points and style checked input fields?
A. :valid
B. :checked
C. :required
4 Which among the following selects points and styles input fields that
contain valid values?
A. :checked
B. :valid
C. :required