Class Notes for Monday 4/29/19, Wednesday 5/1/19
- ems vs px vs rems
- jQuery Modal
- embedding a YouTube video
- In-class work
Download the Class Presentation PDF
We use various units to define the sizes of elements on the page and each has it's benefits.
- Absolute value in pixels.
- Relative to the font-size of the element (2em means 2 times the size of the current font)
- Relative to font-size of the root element
You can download the files and follow the instructions to implement a lightbox gallery onyour own site.