blog.lekoala.beMedia Queries Level 5 are awesomeWith modern css, you can almost get rid of sass. But there is one last pain point : media queries. Not being able to use variables or an easy, common syntax for typical breakpoints is really annoying. That is, until you meet Media Queries Level 5. I’...Oct 10, 2025·3 min read
blog.lekoala.beModern tooltipsThis is a quick article to share this demo I just made. https://codepen.io/lekoalabe/pen/JoPNWpXDec 20, 2024·1 min read
blog.lekoala.beUsing Dialog elements todayModals are typical UI elements for many web apps. There are countless packages dedicated to that specific features, each framework creating its own variation. Popular frameworks like Bootstrap also have custom code to deal with it. But all this feels...Oct 29, 2024·3 min read
blog.lekoala.beUsing assert to fix PHPStan errorsI’ve been using more and more PHPStan recently and it’s been a real pleasure to improve my codebases. Being strict is nice, but sometimes it can also be inconvenient. A lot of built-in methods in php can return false. Or sometimes, you have a “mixed”...Sep 20, 2024·1 min read
blog.lekoala.beCan you nest HTML forms?According to this SO post, well... no. What if there was a way to do it anyway ? Nesting form is not allowed If you try to do this: <form action="/main"> <input type="text" name="main_field"> <form action="/sub"> <input type="text" na...May 31, 2024·2 min read