search results:

    • Standard
    • React
    Pricing Learn Community
    • + D
    • Light
    • Dark
    • System
    logo TW Elements
    • Getting started
      • Quick start
      • Tutorials
      • Design system
      • Local installation
      • Optimization
      • Dark mode
      • Theming
      • Changelog
      • Migrating to v2
      • Internationalization guide
      • Class customization
      • Icons Integration
    • CommercialNew
      • Pricing
      • License
      • Installation
      • Git & repository
      • Premium Support
    • Integrations
      • Angular
      • ASP.NET
      • Django
      • Express
      • Laravel
      • Next
      • Nuxt
      • Qwik
      • React
      • Remix
      • Solid
      • Svelte
      • SvelteKit
      • Vue
    • Content & styles
      • Animations
      • Animations Extended
      • Colors
      • Dividers
      • Figures
      • Headings
      • Hover effects
      • Icons
      • Images
      • Mask
      • Shadows
      • Typography
    • Navigation
      • Breadcrumbs
      • Footer
      • Headers
      • Mega menu
      • Navbar
      • Offcanvas
      • Pagination
      • Pills
      • Scrollspy
      • Sidenav
      • Tabs
    • Components
      • Accordion
      • Alerts
      • Avatar
      • Badges
      • Button group
      • Buttons
      • Cards
      • Carousel
      • Chips
      • Collapse
      • Dropdown
      • Gallery
      • Jumbotron
      • Lightbox
      • Link
      • List group
      • Modal
      • Notifications
      • Paragraphs
      • Placeholders
      • Popconfirm
      • Popover
      • Progress
      • Rating
      • Scroll back to top button
      • Social buttons
      • Spinners
      • Stepper
      • Testimonials
      • Timeline
      • Toast
      • Tooltip
      • Video
      • Video carousel
    • Forms
      • Autocomplete
      • Checkbox
      • Datepicker
      • Datetimepicker
      • File input
      • Form templates
      • Input Group
      • Inputs
      • Login form
      • Multi range slider
      • Radio
      • Range
      • Registration form
      • Search
      • Select
      • Switch
      • Textarea
      • Timepicker
      • Validation
    • Data
      • Charts
      • Charts advanced
      • Datatables
      • Tables
    • Methods
      • Clipboard
      • Infinite scroll
      • Lazy loading
      • Loading management
      • Ripple
      • Scrollbar
      • Smooth scroll
      • Sticky
      • Touch
    • Design Blocks
      • Admin Charts
      • Admin Complex
      • Admin Forms
      • Admin Maps
      • Admin Navigation
      • Admin tables
      • Banners
      • Contact
      • Content
      • CTA
      • FAQ
      • Features
      • Headers
      • Hero / Intro sections
      • Logo clouds
      • Mega menu
      • News
      • Newsletter
      • Pricing
      • Projects
      • Stats
      • Stats admin
      • Team
      • Testimonials
    • Tools
      • Button generator
      • Card generator
      • Flexbox generator
      • Footer generator
      • Form builder
      • Grid generator
      • Icon generator
      • Instagram Filters generator
      • Logo generator
      • Table generator
      • Typography generator
    • Coming Soon
      • Angular
      • Builder
      • Templates
      • Vue
    • Resources
      • Playground
      • YouTube Channel
      • Private FB Group
      • Newsletter
      • UI Design course New
      • UI / UX tips

    Images

    Tailwind CSS Images

    Responsive images built with Tailwind CSS. Use classes for images to make your pictures responsive and more beautiful. Download for free without registration.


    Responsive images

    Use .max-w-full and .h-auto classes to make a image responsive.

    ...
    • HTML
            
                
          <img
            src="https://tecdn.b-cdn.net/img/new/slides/041.jpg"
            class="h-auto max-w-full"
            alt="..." />
          
            
        

    Hey there 👋 we're excited about TW elements and want to see it grow! If you enjoy it, help the project grow by sharing it with your peers. Every share counts, thank you!

    Thumbnails

    Use .border class to give an image a rounded 1px border appearance.

    ...
    • HTML
            
                
          <img
            src="https://tecdn.b-cdn.net/img/new/standard/city/041.jpg"
            class="max-w-sm rounded border bg-white p-1 dark:border-neutral-700 dark:bg-neutral-800"
            alt="..." />
          
            
        

    Shadows

    Use shadow classes to add a shadow to the image.

    • HTML
            
                
          <img
            src="https://tecdn.b-cdn.net/img/new/standard/city/042.jpg"
            class="h-auto max-w-sm shadow-lg dark:shadow-black/30"
            alt="" />
          
            
        

    Shadow on hover

    Use .transition-shadow class to the element to apply a shadow hover effect.

    • HTML
            
                
          <img
            src="https://tecdn.b-cdn.net/img/new/standard/city/041.webp"
            class="h-auto max-w-sm rounded-lg shadow-none transition-shadow duration-300 ease-in-out hover:shadow-lg hover:shadow-black/30"
            alt="" />
          
            
        

    Shapes

    Change the shape of the image.

    • HTML
            
                
          <div class="mb-4">
            <img
              src="https://tecdn.b-cdn.net/img/new/standard/city/047.jpg"
              class="h-auto max-w-full rounded-lg"
              alt="" />
          </div>
          <div class="mb-4">
            <img
              src="https://mdbootstrap.com//img/Photos/Square/1.jpg"
              class="h-auto max-w-full rounded-full"
              alt="" />
          </div>
          <div class="mb-4">
            <img
              src="https://tecdn.b-cdn.net/img/new/standard/city/044.jpg"
              class="h-auto max-w-full rounded-full"
              alt="" />
          </div>
          
            
        

    Related resources

    Tutorials:

    hover state focus active and others fullscreen background image arbitrary values flexbox spacing masks ripple effect carousel rounded corners shadows cards sizing footer

    Extended Docs:

    animations headings hover effects mask shadows typography headers cards carousel gallery jumbotron placeholders video video carousel ripple background image background position borders box sizing center grid items float right parallax position

    Generators and builders:

    Form drag & drop Typography SVG icon Instagram Filters button card table flexbox logo grid footer

    Design System (Figma):

    introduction less is more the art of proritization de emphasize with no mercy label overload let it breathe user experience do not start with the roof project personality design system plan the process principles tips and tricks
    • Responsive images
    • Thumbnails
    • Shadows
    • Shadow on hover
    • Shapes
    • Related resources
    Get useful tips & free resources directly to your inbox along with exclusive subscriber-only content.
    Join our mailing list now
    © 2024 Copyright: MDBootstrap.com

    Access restricted

    To view this section you must have an active PRO account

    Log in to your account or purchase an TWE subscription if you don't have one.

    Buy TWE PRO