X
Back to the
Component Shop
Read this first! Accordion Auto Sidebar Backbutton Before/After Comparison Collapsible Alert Count-down Script CSS Parallax Cut-out Text Drop-down Equal Height Columns Filtered Portfolio Flip-cards Hamburger Menu Horizontal Tabs Image Gallery Image Modal Image Shapes Image Slider with Fade Jquery Parallax Lazy Loading Lightbox Gallery Masonry Grid Gallery Oval Image Range Slider Read More Button Responsive Navbar Responsive Shrinknav Responsive Sidebar Responsive Table Round Image Scroll to Top Simple Shapes Simple Cards Simple Slider Skill Bars Slide-in Nav Sticky Navbar Tabbed Gallery Text on Image Translucent Image Translucent Text Layer Vertical Tabs Video Wrapping Text

Collapsible Alert

i

Hey

Here is a piece of information that might be quite interesting!

A little, nifty way of putting in an alert. Hover over it to see the message. There are some code bits in the 'head' box on the Element pane that makes the clipping of the actual box, leaving just the round button behind. This cannot be seen when working in the app, but it will be seen when previewing.

Unfortunately, in IE11 the mentioned clippinng will not work, so the full alert will be displayed. There are also some problems on mobile devices with Safari. Therefore there is a second component which will display the full alert and only collapse on screen widths of 800px and above.

On mobile devices you won't get the hover colour since hovering is not possible.

Download the collapsible component


Download the component that only collapses on screens at minimum 800px width