glissario / bootcamp-schedule

bootcamp progress
0 stars 0 forks source link

Kata: Todo App with Styling #81

Closed codingbootcampseu closed 3 years ago

codingbootcampseu commented 3 years ago

Kata Todo App

Create a todo app with HTML, CSS and JavaScript.

Features 🍡

The list of features is ordered by descending priority.

Must Have Features 😊

Nice To Have Features 😏

If You Really Have Time Features 🥳

Technical requirements ⚙️

Design Requirements

Use the following color scheme from coolors. The design additionally uses #f5f5f5 as the background color and #ffffff.

Overall Styling

image

Focus state of input, button and radio

image

image

image

Focus state of list items

image

Checked Status

You can use all: unset to reset all predefined stylings from input elements - this will also remove display: inline-block. Remember to add the :checked state for custom elements.

.custom-button {
  all: unset;
  /* your new stylings here */
}

You can use an svg to set a check mark as background for the checkbox.

.checkbox:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' aria-hidden='true' focusable='false' %3E%3Cpath fill='none' stroke='white' stroke-width='3' d='M1.73 12.91l6.37 6.37L22.79 4.59' /%3E%3C/svg%3E");
}

You can use the :focus-within pseudo class to target elements with focussed children.

li:focus-within {
  ...
}

The example styling uses text-shadow and box-shadow.

General Requirements 📝

glissario commented 3 years ago

https://glisstodo.netlify.app/