I'm attempting to use the container query plugin for Tailwind but my container query is breaking (not generating the class) when I add padding to the parent. When I remove it, all of a sudden it works? Is there something about container queries that I'm missing?
Tailwind Container Query not working with padding
507 views Asked by just a user At
1
There are 1 answers
Related Questions in CSS
- How to use custom font during html to pdf conversion?
- Storing the preferred font-size in localStorage
- mp4 embedded videos within github pages website not loading
- Is there any way to glow this bulb image like a real light bulb
- What can I do to improve my coding on both html and css
- Uncaught TypeError: google.maps.LatLng is not a constructor at init (script.js:7:13)
- Bootstrap modal not showing at the desired position on a web page when the screen size is smaller
- How to increase quality of mathjax output?
- Hover animation resetting( seemingly reverting back to original CSS and then again to hover)when moving mouse horizontaly accross a part of an element
- Storing selected language in localStorage
- How to clip grid cell and provide scroll as well?
- KeyboardAvoidingView makes a messy the flexbox
- Rotate an object around another object in javascript
- Understanding Scroll Anchoring Behavoir
- how to use only block layout in this css code?
Related Questions in TAILWIND-CSS
- General questions about creating a custom theme Moodle CMS
- Vue/TailwindCSS - Content is behind Sidebar
- 'bun' is not recognized as an internal or external command
- Trouble generating PDFs with Playwright in Docker container
- tailwind CSS applied on react component moves the navigation bar along in remix
- Is there a way to support Tailwind @apply in Visual Studio?
- Flex layout with grid system in tailwind
- How do I integrate an existing delete function that is located in my routes.php file to a delete button in a modal in my hr.employees.profile.php?
- How can i prevent the image from zooming in when i resize the browser?
- Tailwind CSS background image does not work on github pages
- How to achieve this with chart.js in react?
- What other ways to get my expo go to load?
- Tailwind.css in Remix project does not load file or styles
- Tailwind would not load in a new nextjs app... Unexpected character '@'
- Web server doesnt output the website like in the project on localhost
Related Questions in CONTAINER-QUERIES
- Can a CSS @container query work based on dynamic content height?
- How do I middle align a container parent?
- Apply bootstrap utility classes based on CSS container query
- How to Redefine CSS Custom Property Value for :Root Within Container Query Body?
- CSS Container query (aspect-ratio) not working
- How to override the value of a CSS variable inside a container query
- CSS container query not working with vuejs v-deep
- container query with height not work but can adjust with width
- How to use @ as a class name with Razor Syntax for TailwindCss
- Are Container Queries supported on AMP?
- Trouble understanding containers, why does it work on my blog section but not on my article?
- Why does container-type: inline-size (for container queries) seem to break CSS grid's minmax(min-content, max-content)?
- Target outside element with container queries
- Propagate container query to childrens child
- Tailwind Container Query not working with padding
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
The container queries seem to be working. When you adding padding on the container, the
@[360px]:container query no longer applies because the container content width is now less than360px:To evidence that container queries are still working with the padding: https://play.tailwindcss.com/AzP54wWVga