Skip to content

Instantly share code, notes, and snippets.

View izblackcat's full-sized avatar
👋

Idriss Zarkaoui izblackcat

👋
View GitHub Profile
This is a pretty looking modal in Angular using Tailwind CSS.
_____________________________________________________________________________________________________________
After `ng g c modal`, in the `modal.component.html` file :
<div class="container mx-auto p-4">
<button class="bg-blue-500 dark:bg-slate-900 text-white px-4 py-2 rounded" (click)="openModal()">
Open Modal
fernando@fernando-Vostro-5470:~$ curl start.spring.io
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Initializr :: https://start.spring.io