CSS HATES YOU

Sara
@NikkitaFTW
CodeSandbox

Do you ever feel like CSS Hates you?

You in particular

You are not alone

CSS IS HARD

This is a talk from pain

I LOVE CSS

But I have seen things

Let's Start

Opera mini is sadness you can download at the App Store

If you need to support Opera Mini

DO NOT GET FANCY

POSITIONS

FLEXBOX

This page has more views then the homepage

Justify Content

Align Items

Makes sense?

Easy ah?

But No.

If you change direction they change

Align Items

Justify Content

Why?

React Native

Flex elements go from left to right, right?

But no.

Not in react native they don't

Weird Flex but ok

 

CLEARFIX

Why?

Why does overflow auto fix it?

I can only imagine the first person who found this.

Z-INDEX

Did you ever to try to use Z-INDEX and it didn't do anything?

Z-INDEX needs position

Can we just talk about how random it is?

We as humans tend to fuck everything up

SPECIFICITY

We as humans tend to fuck everything up

CSS IS HARD

css hates you

By Sara Vieira

css hates you

  • 3,398