Search
 
SCRIPT & CODE EXAMPLE
 

CSS

tailwind absolute center

absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2
Comment

center div in tailwind css

<div class="w-32 h-32 flex justify-center items-center bg-yellow-500">
	<div class="w-10 h-10 bg-red-500"></div>
</div>
Comment

float center tailwind

absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2
Comment

Center content tailwind

<div class="flex items-center justify-center h-screen">
	<img class="object-center" src="{{ asset('assets/images/gifs/loader.gif') }}" alt="">
</div>
Comment

PREVIOUS NEXT
Code Example
Css :: css top right corner 
Css :: how to create a glass-polymorphism effect 
Css :: select box arrow hide css in ie 
Css :: remove box shadow css 
Css :: css keep image ratio 
Css :: html align text anchor 
Css :: remove border between td 
Css :: css dynamic grid layout 
Css :: center in grid 
Css :: add padding to gnome terminal 
Css :: css transparent input text box 
Css :: hide scrolbar tailwind 
Css :: align center 
Css :: background color inline styling 
Css :: how to remove border on button click 
Css :: alacritty background opacity 
Css :: how to center a div vertically and horizontally 
Css :: cursor pointer events none 
Css :: beige hex code 
Css :: background-color not showing grover pdf 
Css :: default cursor css 
Css :: css heart 
Css :: mat slider custom color 
Css :: transition delay css 
Css :: center div content 
Css :: font semi bold css 
Css :: how to justify grid childe in the center 
Css :: border color css 
Css :: how to center a text input in css 
Css :: how to write css like a pro 
ADD CONTENT
Topic
Content
Source link
Name
7+1 =