Break points in Tailwind

 USING BREAK POINTS WE CAN MAKE OUR PAGE RESPONSIVE.

THE PREFIXES ARE

sm - 640px

md - 768px

lg - 1024px

xl - 1280px

2xl - 1536px

WE DEFINE USING ":"

      <div class="text-white  my-4 border-8 border-green-600 rounded h-[250px] w-[15rem]
sm:bg-orange-600 md:bg-yellow-500">





Comments

Popular posts from this blog

Introduction

Color and Spacing