Some variable to use
• Fonts
$font-main: ‘Raleway’, sans-serif;
(of course, you first need to @import that font)
• Colours
$grey: #eee;
• Sizes
$wide: 1024px;
Exercise
• Set colour variables
• Set font variables
On the shop page
• Set rounded edges for all product images
• Change the font of the product titles
• Make the purchase buttons look different
• Use transitions on the buttons
(e.g. let a:hover colour change take 1 sec)
Slide 25
Slide 25 text
Inspect the code
cms.mystagingwebsite.com/shop
Slide 26
Slide 26 text
Review
• Go over code together
• Next exercises:
- Try another Sass line
- Explore Grunt.js or another compiler