Twitter | Search | |
Wes Bos 🔥
🔥 In CSS you can set multiple backgrounds each with their own size property
Reply Retweet Like More
Adam "Are midterm elections here yet?" Tuttle 13 Jul 16
Replying to @wesbos
whatever css preprocessor that is makes it really hard to understand for non-speakers.
Reply Retweet Like
Zulhilmi Zainudin 13 Jul 16
Replying to @wesbos
one of my fav technique when doing gradient overlay + image. 😄
Reply Retweet Like
Wes Bos 🔥 13 Jul 16
Replying to @AdamTuttle
It's Stylus. And yes I found french hard to understand before I learned it too
Reply Retweet Like
Simon Skoczylas 13 Jul 16
Replying to @wesbos
I don't know whether it is necessary to mention today or not: In CSS3 :)
Reply Retweet Like
Wes Bos 🔥 13 Jul 16
Replying to @AdamTuttle
But yeah, Stylus is very divisive. Some hate it, some love it. No one in between!
Reply Retweet Like
Adam "Are midterm elections here yet?" Tuttle 13 Jul 16
Replying to @wesbos
Point being: Many of your followers prefer something else, and your demo was not of stylus features but css. [1/2]
Reply Retweet Like
Adam "Are midterm elections here yet?" Tuttle 13 Jul 16
Replying to @wesbos
Why wrap gold content in something guaranteed to alienate a not-insignificant % of the target audience?
Reply Retweet Like
Wes Bos 🔥 13 Jul 16
Replying to @AdamTuttle
yaya - just a screenshot of something I'm working on. Sorry!
Reply Retweet Like
Matt Holt 13 Jul 16
Replying to @wesbos
ooo that's a cool effect!
Reply Retweet Like
Wes Bos 🔥 13 Jul 16
Replying to @AdamTuttle
👆 That code above is Stylus. Here it is in regular CSS too. Thanks
Reply Retweet Like
Peter 13 Jul 16
Replying to @wesbos
so on stylus you have to add semicolon on composed properties? Or its just your preference? I'm thinking in using it
Reply Retweet Like
Marco Hengstenberg 13 Jul 16
Replying to @wesbos
I danced around the desk in my office when I found out about this! So neat.
Reply Retweet Like
Wes Bos 🔥 13 Jul 16
Replying to @iwa
Oops - that first semi in the stylus is optional. Almost all punctuation in stylus is optional - so you can use as much or as little
Reply Retweet Like
Kristie 13 Jul 16
Replying to @wesbos @AdamTuttle
Why Stylus? :)
Reply Retweet Like
Raphael Okon is out 13 Jul 16
Replying to @wesbos @AdamTuttle
I’d rather use bg shorthand and do ‘/ bg-size’ per bg-layer to keep it concise
Reply Retweet Like
Wes Bos 🔥 13 Jul 16
I need a fun way to memorize what goes before and after the / - I always mess it up and just use background-size
Reply Retweet Like
Wes Bos 🔥 13 Jul 16
It's 100% personal preference. No benefits/downsides VS something like Sass
Reply Retweet Like
Raphael Okon is out 13 Jul 16
Replying to @wesbos @AdamTuttle
Haha! Fair enough :> My mnemo: IPS/RAB
Reply Retweet Like
Delapouite 13 Jul 16
one benefit of stylus over sass is that you don't need to have ruby on your machine.
Reply Retweet Like