Whitepage

Fill out the form!

Check out the comments for line by line explanations. Form-related code starts on line 145.

Before we get started, we have to understand how labels, placeholders, and input fields work and how they are used from a UX perspective.

We'll be using several pseudo-selectors to create this effect.
This is the ONLY way to achieve this effect without any JavaScript.

A non-SCSS version can be found here for those that don't use SCSS. Note that this older CodePen has a ROOT font-size of 10px, so any 'rem' values are based on 10px.