PostSrc
@PostSrc
Learn web and mobile development, programming guides and tutorials on VueJS, NuxtJs, Laravel Framework, TailwindCSS and Flutter
Potrebbero piacerti
Shipped Tailwind CSS v4.0-alpha.10 today, which now uses CSS variables for each utility by default ✨ Makes theming a breeze 🎨
A super simple Eloquent trait for tracking metrics on any of your Laravel models You could add "day" to the schema if you wanted more granularity of course
A super simple way to add native browser confirmations to forms with @Alpine_JS.
🚀 We just released a mini-package called spatie/holidays that can calculate all public holidays for a country. Right now Belgium, Netherlands and Hungary are supported, but we’re welcoming PRs for other countries. #php
We've integrated the code behind @staudenmeir's "eager load limit" package into Laravel 11. That means in Laravel 11 this will actually work... retrieving users while eager loading only 5 posts per user... ❤️ Thanks @staudenmeir!
✨ New screencast series: BUILDING DATA TABLES AND A TON MORE RELATED STUFF IN LIVEWIRE AHHH What's in it? Welp, here's the entire course condensed into a few minutes while I play with my deluge in the background 😎
Cool insights on how Github upgraded over 1200 MySQL instances to MySQL 8.0 👇 github.blog/2023-12-07-upg…
Here are my favorite 16 Laravel packages📦 I would immediately DIE without them! 🧵Keep Reading
✨ Probably my favorite new Livewire feature shipped today: @ assets and @ script - assets only load once per page - scripts run for every component - scripts have access to "$wire" - no need for "document.addEventListener" anymore - all this works with lazy loaded components…
Using Algolia search on a docs site enables such a valuable feedback loop. This morning, when I saw this email I: - searched "alpine" on the Livewire docs - saw there's no "central place" to learn about using Alpine with Livewire. - wrote a new page called "Alpine" I then…
⚒️ Me and @keithdamiani are breaking ground on a new project: Livewire UI All the UI components you need in your app - built with ❤️ More to come 👀
🎄 Check this outttt I want to make sure my sites are "accessible" but I really suck at testing things in screen readers and such Devtools to the rescue baby 💪
Here's the code for those "god rays" I’ve been sharing! codepen.io/TWilson/pen/jO…
CSS Tip! 🤙 Use custom properties to work out the nested radius of elements for you 😎 .parent { --nested-radius: calc(var(--radius) - var(--padding)); } .nested { border-radius: var(--nested-radius); } Couldn't resist making an interactive visual! @CodePen link below 👇
quick tip for nested radii → your corners will look a lot better if you set the outer radius to the sum of the inner radius + padding
Occasionally you need to paginate a Laravel Collection (I just did). Add this Collection macro to the boot method of a service provider and you're good to go 🫡
Useful trick if you ever need to use inline styles because a value is coming from the database or something but also need to change those styles on hover or similar — Use those values to set CSS variables using inline styles, then use arbitrary values to read the variables 🧠
Very interesting approach, Benjamin! Out of curiosity, have you considered having the tests just below the code itself? Something like this:
⚡️ Additionally, you can even specify which font service is used to fetch your fonts! All in PHP. We will support Google Fonts, Bunny Fonts, local fonts... and a new plugin for @spatie_be's laravel-google-fonts package - which caches Google fonts locally!
Filament v3 allows you to configure a custom font by just passing its name. 🔥 Great ideas pop up on weekend calls with @awcodes1 and @danjharrin. 😎
I'm afraid to even share this 😂 but playing around with ideas for what it might look like to do more of your Tailwind customization/configuration/extensions directly in CSS instead of in JS. Left is what you do now, right is an idea of doing the same thing in "CSS":
United States Tendenze
- 1. LeBron 79.1K posts
- 2. #DWTS 53K posts
- 3. #LakeShow 3,791 posts
- 4. Whitney 15.8K posts
- 5. Peggy 18.3K posts
- 6. Reaves 8,115 posts
- 7. Keyonte George 1,860 posts
- 8. Jazz 26.9K posts
- 9. Orioles 6,922 posts
- 10. Macklin Celebrini 2,420 posts
- 11. Elaine 17.3K posts
- 12. Taylor Ward 3,512 posts
- 13. #TheFutureIsTeal 1,521 posts
- 14. Grayson 6,977 posts
- 15. Dylan 25K posts
- 16. Tatum 16.1K posts
- 17. #Lakers 1,591 posts
- 18. tDUSD N/A
- 19. #WWENXT 17.1K posts
- 20. Angels 31.8K posts
Potrebbero piacerti
Something went wrong.
Something went wrong.