CSS allows you to build any layout you want. Unfortunately, we still don't care too much about preventing CSS issues upfront. So at Summit @shadeed9 will outline defensive CSS, a term he coined to describe CSS that is future-proof and defensive.
buff.ly/3KwIrn1
ALT Twitter banner for Ahmad Shadeed's presentation. Image shows a photo of Ahmad Shadeed and text that reads 'Ahmad Shadeed Design Engineer Freelancer Defensive CSS. WEB DIRECTIONS SUMMIT 2022 Sydney, December 1st and 2nd, 2022. product, design, front-end engineering, and more! Sydney, December 1st and 2nd, 2022'
Hello 👋
I got back home today from my trip to @ParisWeb! It was a great experience for a first-time speaker! I learned a lot, and glad that I met @mmatuzo, @klohFR, and @ffoodd_fr in person 🤩
Photo credit: the amazing @mmatuzo
I have updated defensivecss.dev and added a speaking section. It's amazing how quickly a simple idea can take off! 🤩
I am so excited for what is to come for @DefensiveCSS 🔥
🌟 New Tip
When working with multilingual websites, make sure to account for short content lengths by setting a minimum size.
In this example, the button "Done" become too small in Arabic. We can fix that by setting a min-width in CSS.
Read more: defensivecss.dev/tip/button-…
Ahmad Shadeed will be speaking at Xpand!
Ahmad is a well known product designer and front-end developer whose work has been recognized and featured by well-known websites and newsletters like Smashing Magazine, Laravel, CSS-Tricks, Codrops, HTML5 Weekly, CSS Weekly, SidebarIO
💡 In CSS grid, we can choose between auto-fill and auto-fit for how a grid item should behave. The keyword auto-fit is risky, specially when we don't know the number of grid items.
Read more in this defensive CSS tip:
defensivecss.dev/tip/auto-fi…
It was an honor for me to give a talk on Defensive CSS to the @Supermetrics development team in Helsinki, Finland.
This is a great experience for me and looking to spread the word even more about @DefensiveCSS 🤩
It's a common mistake to use display: flex and forget about it. When the content gets longer, flex items will stretch to fill the parent.
That's what happened to the image here. The fix is to use align-items or align-self depending on the use case.
🔗 defensivecss.dev/tip/default…
#ParisWeb conference: on October 7th, we will have the pleasure to welcome @shadeed9 who will introduce you to the idea of Defensive CSS: Ways and techniques we can use right away to prevent potential layout bugs.
paris-web.fr/2022/conference…
Have you ever tried using position: sticky with CSS grid and it didn't work? You need to override the default behavior of CSS grid by applying align-self: start to the aside.
✍️ Find out more in this defensive tip: defensivecss.dev/tip/positio…
⚠️ By default, flexbox will let its child items take up as much space as the content. This can lead to overflow issues.
Learn more about how to prevent that.
defensivecss.dev/tip/flexbox…
Want to get an idea of what "Defensive CSS" 🛡 exactly is? This Thursday would be *the* opportunity as @shadeed9 will be presenting his thoughts and ideas around it at our next online event! 🥳✨ 👇🏻
css.cafe/
Hello world, I’m happy to publish Defensive CSS! 🥳
It's a resource explaining how to write CSS defensively, and how it can be used as a strategy for every front-end project.
✍️ More content is on the way!
defensivecss.dev/