Example #3: minimum width for the floating element

With the option set minimum width of the floating element, the width setting will be overruled if applicable. The same goes for the maximum width (see example #4).
This demo only works on screens wider than 768px. Yours isn’t :(

Please enlarge your window, or view this page on another device.

Understood. Please mail me the link to this page
This section is 50% of the width of the SmartFloat stack below.
This section has a width of 374px – the minimum width of the floating element in the SmartFloat stack below.
This is the floating element of the SmartFloat stack. It’s width is set to 50%; its minimum width to 374px.

On screens wider than 768px, this element ‘floats’, so the text on the right (the wrapping element) wraps around it.

On smaller screens, this element is shown above the wrapping element.
This is the wrapping element of the SmartFloat stack.

On screens wider than 768px, this element wraps around the element on the left (the floating element).

On smaller screens, this element is shown below the floating element.

Some filler text to make the floating element bigger than the wrapping element: Lorem ipsum dolor sit amet, sapien platea morbi dolor lacus nunc, nunc ullamcorper. Felis aliquet egestas vitae, nibh ante quis quis dolor sed mauris. Erat lectus sem ut lobortis, adipiscing ligula eleifend, sodales fringilla mattis dui nullam. Ac massa aliquet.
Change the width of your browser window to see the responsive characteristics of the SmartFloat stack.
© 2015-2017 Marathia Web Design | Contact