This repo is for a course from the Minor: Everything Web called CSS To The Rescue. The main goal of this course is to only use CSS selectors, meaning no classes, id's ect. and to make the components/site keyboard accessible.
Purpose: Learn and explore more of CSS Accessibility using keyboard
In parallel with the course Web App From Scratch
- No classes or id's to use for styling (Navigating with id is ok)
- No JavaScript
- Preprocessors allowed but only the css counts. (So scss won't be taken in the judgement)
- You have to use
CSS grid
- Apply flexbox if you want to
- Use custom properties
- Use relative units
- Apply selected techniques from the book CSS Secrets by Lea Verou
The process and planning.
What I've done, learned and plan to do in week 1.
Result of week 1 HERE
-
Thinking out how each component will look like
-
Trying to implement modals (not succeeded)
-
Login modal base implemented
-
Implementing from CSS Secrets
- Fancy ampersand
- De-emphasize by dimming
- Instrinsic sizing (With max-content instead of min-content)
-
Working on focus-within nested navigation
-
Thinking about adding id's to the components/sections so that you can jump to a component right away without having to tab through everything.
- The basics of CSS Grid with CssGridGarden: CssGridGarden: A quick and fun introduction to the new CSS module, CSS Grid. I've learned come in contact and learned the basic syntax of CSS Grid.
Wes Boss CSS Grid course: Learning more about CSS Grid's syntax and using it in practical sense.
- How to use some pseudo selectors like
:target
- Css only modal
- How to focus within a nested navigation
- Adding a jump to content or something similiar
- Style and test each component one by one
- Create a cohesive concept
- Change the content
Result of week 2 HERE
- Started all over, because I now got an idea what I want to make/do
- Started styling the component from scratch
- Added teeny animations
- Base for the Home/Overview page made
- Base for the Account/Login screen set
- Learning to use keyframes
- Never heard about
:placeholder-shown
and::-webkit-input-placeholder
before. Now I have 😉 - That you cannot create a masonry layout with
CSS Grid
. 😞
- Implementing all the assignments. (Implementing from the book CSS Secrets from Lea Verou)
- Retouching the styling
- Update the readme
Result of week 3 HERE
- Fixing, retouching, corrections
- Used
column-count
instead ofgrid
for a masonry layout. - Adding and adjusting little animations
- Applied all the selected techniques from the book CSS Secrets
- Got more familiar with keyframes
- Got more familiar with styling the
<progress>
tag - Learned some tricks from the book CSS Secrets
- More usages of
psuedo selectors
e.g.:not(:placeholder-shown)
The component that had to be styled can be found here
Rating example makes use of Emoji from: http://emojione.com
-
fancy ampersand - 5.25 In the header
-
de-emphasize by dimming - 6.32
-
de-emphasize by blurring - 6.33 The background when a card is selected - similar to 6.32
-
Instrinsic sizing (Styling by sibling count) -7.36, (7.38) min-content and max-content incorporated into few components
-
7.40 Vertical centering Had no need to vertically center something. What comes the closest is the card modal.
-
Frame by frame - Loading spinner — 8.43 The png sprite sheet loader added to mimic the loading of logging in. Shows when the Stay logged in checkbox is checked to mimic the loading
-
Elastic transition - Transitions op :hovers en :focus—8.42 On selecting a card. A modal will bounce in.
-
Picking the right Cursor — 6.29 Default on links and set on buttons
-
Extending the clickable area — 6.30 On nav links and link in the login page using transparent borders.
-
Custom checkboxes — 6.31 In the login form under account.html
-
(Pseudo)random background — 2.7 Set on the progressbar in /learn.html