[Continued from SASS Essentials: Variables] In the MIXINS folder are two interesting mixin-containing partial files. Mixins work like FUNCTIONS in other languages, allowing us to pass in values, process them in some way, and then return a value for use. Because these are in a partial, however, I still need to import them. Here I […]
Category: CSS
CSS Blend Modes Testing App
This Loom code-along exercise will involve CSS Blend Modes, CSS Transitions, CSS Animation (just a bit), Advanced Form Styling, and a bunch of JavaScript. The Loom video series can be found here. In this series, we will making a page to demonstrate the effects of CSS Blend Modes. A more complex but similar example is […]
SASS Essentials 2018: Variables
Variables [Continued from SASS Essentials: Partials] You will notice the above pattern repeated if you look into the VARIABLES folder. The _variables.scss file imports the following partials: _borders.scss _colors.scss _layout.scss _typography.scss Then, if you look in the main style.scss file, you will see the _variables.scss file being imported next. Variables allow us to store information in […]
SASS Essentials 2018: Partials
To begin, please download these files and open the whole folder up in Atom or another editor of your choice. The files are a sample SASS-based project. There’s only 1 HTML file, but there are a bunch of SASS files. The aim of this is to demonstrate a few of the most common, useful, and […]
First of All… Please download the files for the exercise. In the downloaded archive, there is one HTML file, a folder of images, and a folder of screenshots. For this exercise, you are making a front page of a magazine-style site. There are two designs: one for regular marks and one for bonus marks. The […]
This exercise is meant to get you thinking about transitions, menus, responsive states, layouts, and as always web typography. First, please download the files you will need. In it, you will build a layout that was used to great effect by the Canadian literary magazine The Walrus. I’ve put in some of the HTML, but […]
CSS Grid: Windows 8 Desktop Mockup
For this exercise, please download the screenshot. You will need to use the following: CSS Grid(s) to lay out the page and components Typekit.com to serve a font that as closely as possible matches the Segoe Windows system font (which is not available anywhere except in Windows itself). You will need an Adobe membership to […]
The HSL Color Model
When you think about it, rgb and hexidecimal are not particularly easy to work with. Remembering that this much RED when combined with that much BLUE makes HOW much PURPLE isn’t especially intiuitive. Doing this kind of brainwork in hexidecimal is even more annoying: off the top of your head, see if you can work out […]
First, download the required files. Using Firefox for your browser will allow you to use its Layout tab in its Inspector. If you’re at Langara, use the Firefox Developers Edition. The task: In the files you download is a grid-starter-template.html file. For each layout you are to build, duplicate and rename to reflect the layout […]
This exercise primarily focusses on the use of the FLEXBOX css module for layout. It should also reinforce your understanding of the use of multiple backgrounds. First, download the starter files and screenshots. Since this is an exercise, I have not sized the images down to the final size I would use them at. In a production […]