Difference between revisions of "Category:Cascading Style Sheets"

From perpendicular angel knowledgebase
Jump to navigation Jump to search
Line 56: Line 56:
* [http://bdavidxyz.com/blog/how-to-name-css-classes/ How to name CSS classes] by [[David Boureau]] on his website
* [http://bdavidxyz.com/blog/how-to-name-css-classes/ How to name CSS classes] by [[David Boureau]] on his website
== Sticky ==
== Sticky ==
[https://advent2017.digitpaint.nl/21/ Adhesive action with position:sticky!] by [[Digitpaint]] explains how to put nav elements and similar items sticky to the top or bottom of a page using no Javascript.
* [https://advent2017.digitpaint.nl/21/ Adhesive action with position:sticky!] by [[Digitpaint]] explains how to put nav elements and similar items sticky to the top or bottom of a page using no Javascript.
* [https://lea.verou.me/2020/06/hybrid-positioning-with-css-variables-and-max/ Hybrid positioning with CSS variables and max()] by [[Lea Verou]] on her website explains how you can get something that's sort-of-sticky using no Javascript
 
==Visual Design==
==Visual Design==
* [https://css-tricks.com/examples/nth-child-tester/ nth-child-tester] by [[Chris Coyier]] on [[CSS-Tricks]] helps you figure out what the nth-child controls will do.
* [https://css-tricks.com/examples/nth-child-tester/ nth-child-tester] by [[Chris Coyier]] on [[CSS-Tricks]] helps you figure out what the nth-child controls will do.

Revision as of 20:58, 18 June 2020


General education and tutorials

How to Learn CSS by Rachel Andrew for Smashing Magazine covers each of the following topics with links to more in-depth resources. It's a tutorial's tutorial:

  • Language fundamentals
  • Selectors
  • Inheritance and the cascade
  • The box model
  • Normal flow
  • Formatting contents
  • Being in or out of flow
  • Layout
  • Alignment
  • Sizing
  • Responsive Design
  • Fonts and typography
  • Transforms and animation
  • Using cheat sheets

Animation

Animation is a design technique for drawing the eye to a specific piece of content on the page. CSS allows for designers to animate elements on the page efficiently and with little performance overhead.

Training classes

Web Animation Essentials: CSS Animations and Transitions by Rachel Nabors on her website

Tools

Cascades and Specificity

Also known as "why is this thing here overriding that thing over there?!?"

Tools

Colors

According to this tweet by Eric Meyer:

FUN FACT: in CSS and SVG, 'gray'/'grey' (#808080) is darker than 'darkgray'/'darkgrey' (#A9A9A9) because that’s how they were defined in HTML and one version of the X11 color system, respectively. When the two systems were merged, nobody wanted to touch the underlying values.

Focus

Gradients

Layout

CSS Grid is hands-down the most effective recent way to do layout.

Flexbox is a close second, but only works in rows or columns, giving CSS Grid the edge in complex layouts.

Responsive Design is a layout tool that predates CSS Grids.

Grid Systems predate both Responsive Design and CSS Grids. While they're not exactly the way that we'd do design today, knowing about the visual design elements, planning a desktop layout with a grid system can help figure out a visual design system even today.

Naming best practices

Sticky

Visual Design

Stripes

Speech Bubbles

Pages in category "Cascading Style Sheets"

The following 3 pages are in this category, out of 3 total.