Comments (3)
Images are inline elements by default and are placed in the baseline, see here: https://jsfiddle.net/62fk1dc8/
To prevent this behaviour set the image to display: block
from tailwindcss.
Alright! I forgot that... 😅 Thanks @LostKobrakai.
from tailwindcss.
Thanks for helping @LostKobrakai! Gonna close this since this is just normal CSS behavior.
from tailwindcss.
Related Issues (20)
- .browserslistrc not used by tailwinds-cli HOT 1
- autofill prefix not working HOT 2
- Visited Text Opacity not working, eg `visited:text-blue-800/50` HOT 2
- Responsive Prefix does not work. HOT 1
- Sorting 'dark' variants only works when 'darkMode': 'class' HOT 2
- important modifier on animation breaks keyframes HOT 1
- Enable Disabling Preflight Based on Path HOT 1
- Dark mode broken in 3.4.0, last working 3.3.7 HOT 16
- `theme('leading.<value>')` in CSS throws `'leading.<value>' does not exist in your theme config.` HOT 1
- '-webkit-text-size-adjust' is not supported HOT 5
- Arbitrary values for 'grid-cols' generate incorrect CSS HOT 1
- About "content" in our Tailwind CSS Configuration HOT 1
- React examples are broken HOT 2
- Firefox not working with (group) "has" style modifiers HOT 1
- Responsive design not working
- Arbitrary values for 'radial-gradient' generate incorrect CSS HOT 3
- Play CDN doesn't support `container-queries` plugin HOT 2
- 'optimizeUniversalDefaults' does not respect 'important' configuration var HOT 1
- Tailwind does not work after fresh installation
- can't install tailwind css HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tailwindcss.