Laravel 10 - How to Use New @style Attribute
I'll show you how to use @style in our Laravel app. Using this directive we can easily add any style to that tag. So, let's see how we can use this @style attribute.
Note: Tested on Laravel 10.0
- Example 1
- Example 2
If we back to the previous moments, where if we need any change in style, we need to use so called @if @endif directive. Like below
Thank you for being so supportive!
0 Comments
CAN FEEDBACK
Emoji