CV Styling
Goal:
Learn and apply CSS Selectors
Learn and apply CSS rules
Understand the markup/styling separation
Competencies:
Selectors
Pseudo Selectors
Box Model
Media Queries
Floats/CSS Grid/Flex
Positioning
Overflow
Background-image
References
Layout: https://learnlayout.com/
Selectors: https://flukeout.github.io/
Flex: https://flexbox.io/
CSS Grid: https://cssgrid.io/
Tasks:
Implement the style depicted in style1.png. Try to get as close as possible.
Implement the mobile styles in style1-mobile.png
Implement the style depicted in style2.png. Try to get as close as possible.
Implement the mobile styles in style2-mobile.png
Edit the HTML so it reflects your own information
Implement your own Style
Note: Before reaching the last step, you should not touch the HTML. You may change names, texts, and images to personalize the CV.
How To
1 - Preparing:
Fork this repository then clone the fork to your pc.
2 - Implement Style 1:
create a file in the directory
public/style1/
calledstyle.css
Open this file in your text editor (VScode, Atom, Sublime...)
add a simple instruction to it (such as:
body{background:red}
)Open
public/style1/index.html
, and add a line that loads the new css file you createdLoad
public/style1/index.html
in your browserBegin implementing the styles!
When you're done, commit
3 - Implement style 2:
Copy the directory
public/style1/
and rename itpublic/style2/
Open the file
public/style2/style.css
and empty itFollow the same instructions as above
Some images are used in this one; feel free to replace them with your own images if you prefer
When you're done, commit
4 - Edit the HTML:
note: You CANNOT do this step without a previous commit
You NEED at least one commit with the HTML untouched before beginning this part
If you don't have a commit with the HTML untouched, DONT touch the HTML, your exercise is VOID
Edit
public/style1/index.html
and replace the information inside with your ownOnce you're done, copy the file to
public/style2
to replace the previousindex.html
When you're done, commit
Notes:
Don't panic! One step at a time
Don't forget to push back changes from time to time (
git add -A
, thengit commit -m "message"
thengit push -u origin master
)
Images:
first style
second style
Last updated