Hopp til hovedinnhold

Innhold om CSS

Totalt 61 innlegg

Side 4 av 5

CSS Accessibility - get a move on, then stop!

CSS
Artikkel (2 min)
Fra Hans-Christian Fjeldberg-Gustavson
16.12.2019

Animations can be what sets your website apart, and really makes your users happy. It shows that you have gone that extra mile to create something really special, often with great care, and oftentimes, depending on the animation, with great effort.

CSS Accessibility - keeping focus

CSS
Artikkel (3 min)
Fra Hans-Christian Fjeldberg-Gustavson
15.12.2019

Did you know that you might be required by law to create accessible websites? In many countries, government agencies has been required to create websites that comply with WCAG 2.0 for a long time, and in for instance Norway, this requirement also apply for private companies. For a general introduction to accessibility, I recommend reading the article from day 6 in our UX Christmas calendar, and to see all the technical tidbits involved, I recommend going through the checklist found at https://www.wuhcag.com/wcag-checklist/. As this is a CSS Christmas calendar, let’s focus on the stuff we control using CSS, and today, it is all about keeping focus!

CSS Christmas card - Part 3: Shaking it up

CSS
Artikkel (2 min)
Fra Dag Frode Solberg
14.12.2019

CSS Christmas card - Part 2: But can you use this?

CSS
Artikkel (2 min)
Fra Dag Frode Solberg
13.12.2019

CSS Christmas card - Part 1: Cutting corners

CSS
Artikkel (5 min)
Fra Dag Frode Solberg
12.12.2019

CSS Grid's Best Friend

CSS
Artikkel (2 min)
Fra Sondre Kongsgård
11.12.2019

There is a display property that goes hand-in-hand with CSS grid: display: contents. With this property you can keep good HTML semantics when using CSS grid. Let's see how.

Bleeding edge - making your grids bleed

CSS
Artikkel (3 min)
Fra Kristofer Giltvedt Selbekk
10.12.2019

Grid layouts are nice until you need to do something slightly outside of its bounds. Want to learn a quick trick to escape?

Hyphens - Breaker of Words

CSS
Artikkel (4 min)
Fra Espen Hellerud
09.12.2019

How words are broken when lines overflow their containers is not always trivial and can cause many a headaches. Hyphens is a CSS property used to help with this, but how does it actually work and what can it do for us?

Don't suffer like I Grid - SafIEty first

CSS
Artikkel (6 min)
Fra My Thao Nguyen
08.12.2019

Many developers hesitate to use CSS Grid in their project. A typical argument is that Grid is not supported in all browsers. But that's not true!

Clean CSS - detailed edition

CSS
Artikkel (8 min)
Fra Peter Hemmen
07.12.2019

In yesterday's post, I listed some of the general tips I use when I try to write clean CSS code. Today, I'll try to be a bit less fluffy and instead show some detailed tips you can start applying to your projects right away. Ready? Here we go.

Clean CSS - rambling edition

CSS
Artikkel (7 min)
Fra Peter Hemmen
06.12.2019

Over the years I've seen (and indeed written) quite a lot of horrible CSS, and I want to take a moment to share some of the rules and principles I try to follow when I write and teach CSS in order to keep the code as clean and maintainable as possible. In this post, I'll go through some general tips before I'll get into some more specific tips in tomorrow's post. Let's go!

Gotta Select'em all

CSS
Artikkel (3 min)
Fra Dag Frode Solberg
05.12.2019

Oops! I Grid it again

CSS
Artikkel (4 min)
Fra My Thao Nguyen
04.12.2019

It’s been six months since I’ve been introduced to CSS Grid and I just can't stop sharing how useful it is! It’s amazing when you’re in the need of a responsive layout!

Stroke it and Dash it – A stroke-dasharray Christmas Tale

CSS
Artikkel (5 min)
Fra Halldis Søhoel
03.12.2019

Switch it up with CSS custom properties

CSS
Artikkel (5 min)
Fra Kristofer Giltvedt Selbekk
02.12.2019

Custom properties doesn't look like much, but is one of the real super powers of CSS. Let's see what it's all about!