By default Tailwind’s container does not center itself automatically and does not have any built-in horizontal padding.
Centering the Container
To center the container add the mx-auto utility
<...
When you are using TailwindCSS in some cases you might want to add a prefix to your tailwind utility classes so that it doesn't mess up with your other library.
I often do this when I am using both b...
In this article let's go over how we can install TailwindCSS on an HTML project. The simplest and fastest way to get up and running with Tailwind CSS from scratch is with the Tailwind CLI tool.
1. In...
Edit the Nginx configuration file for the site (not the server), replace the location ~ \.php$ block with following
location ~ \.php$ {
try_files $uri /index.php?$args;
f...
Hi, I’m Valerio software engineer, founder and CTO at Inspector.
As a product owner, I know how hard it could be to fix a software issue. Especially when it negatively impacts the users’ experience...
TailwindCSS is a popular utility first CSS framework. In this article, we will go over how to install TailwindCSS on Laravel which is a PHP Framework.
1. Create a Laravel Project and Dependencies Ins...
You can use the following HTML template that contains the link to the JS and CSS CDN files to the Bootstrap 5 library.
This includes the CDN link to CSS and JS files from jsDelivr
&...
This article takes your through step by step process of how to deploy your Laravel Application which connects to the SQL Server Database on Digital Ocean and we will be using Laravel Forge for this....
If you are looking to refresh or reload the new values from the database for a Model, you can do the following
$model->refresh();
For example
$user = User::find('242');
$user->active...