CSS3 Reviewer

What are advantages of using CSS?
Saves time – you can reuse the same sheet in multiple html pages
Pages load faster – you can write one css rule of tag and apply it to all other same tags
Multiple Device Compatibility – contents can be optimized for more than one type of device

What are the ways of using CSS?
<style> in head
@import Rule

Cascade Order:
external, internal,
tag, class, ID, inline,
style appearing last, important!

What are the components of a CSS Style:
Selector / Property / Value

Universal Selector: *
Descendant Selector: ul li
Child Selector: ul > li

How many format can you specify CSS Color?
Keyword / RGB / Hex Code

Pseudo-Classes for Links:
a:visited / a:link / a:active / a:hover

Starts with: [attr^=’…’]

Ends with: [attr$=’…’]

Contain: [attr*=’…’]

CSS Display:
Inline / Inline-block
float: requires setting the width

Responsive Image
img {
max-width: 100%;
display: block;
height: auto;


About bernadetteengleman

Hello, I am Bernadette from New York City. I moved here from Chicago in 2013. I am originally from the Philippines. I started studying web programming in 2015. I love it because I like making fun websites and web apps. The projects that I built so far are posted below. I like to cook and I love to travel. I also like to volunteer and I am a team leader with the non-profit organization, NYCares.
This entry was posted in HTML/CSS. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s