You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, I really like your plugin, the idea and the coding also.
I had problem, when I used the waves on floated elements. Since the plugin makes all the attached element to block formatted, thats made the attached container jumped for me (because of the CSS rule overflow: hidden).
So istead of this why you don't create a block inside the original element, and make that absolute positioned with overflow: hidden. This won't affect the original element at all, but still prevents the wave to move outside the element.
So that was my solution of my problem. :)
Also, really thanks for the plugin.
R
Block formatting contexts are important for the positioning (see float) and clearing (see clear) of floats. The rules for positioning and clearing of floats apply only to things within the same block formatting context. Floats do not affect the layout of things in other block formatting contexts, and clear only clears past floats in the same block formatting context.
The text was updated successfully, but these errors were encountered:
zrepas
changed the title
Waves causes the floating element to be displayed as block.
Waves causes the elements to be displayed as block, which kills floating.
Feb 20, 2016
Hey!
First of all, I really like your plugin, the idea and the coding also.
I had problem, when I used the waves on floated elements. Since the plugin makes all the attached element to block formatted, thats made the attached container jumped for me (because of the CSS rule overflow: hidden).
So istead of this why you don't create a block inside the original element, and make that absolute positioned with overflow: hidden. This won't affect the original element at all, but still prevents the wave to move outside the element.
So that was my solution of my problem. :)
Also, really thanks for the plugin.
R
Block formatting contexts are important for the positioning (see float) and clearing (see clear) of floats. The rules for positioning and clearing of floats apply only to things within the same block formatting context. Floats do not affect the layout of things in other block formatting contexts, and clear only clears past floats in the same block formatting context.
https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Block_formatting_context
http://www.w3.org/TR/CSS2/visuren.html#block-formatting
The text was updated successfully, but these errors were encountered: