Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.19 KB

README.md

File metadata and controls

30 lines (21 loc) · 1.19 KB

🛠️ TailwindCSS Breakpoint Tool

A simple breakpoint notification that shows up at the top of the screen when you resize your window and hides after you stop resizing.

<script src="//unpkg.com/tailwind-breakpoint-tool" defer></script>
tailwind-breakpoint.mp4

How to use

This tool is only meant to be used during development and it works pairs perfectly with the Tailwind Play CDN. You can include this tool right alongside it:

<script src="//unpkg.com/tailwind-breakpoint-tool" defer></script>
<!-- Right alongside the Play CDN -->
<script src="https://cdn.tailwindcss.com"></script>

Resize your window and see the little breakpoint tool pop down from the top of the screen 🔮


This tool utilizes some Tailwind classes itself, so if you are not utilizing the TailwindCDN there may be some classes that do not display correctly. In this case you may just want to copy and paste the javascript from the index.js anywhere on your page.

<script>
// copy/paste content from index.js here.
</script>