Icon's position is not fixed

Icon's position is not fixed


I want to fix my twitter icon under my div but…when div element’s size increases icon moves with the element size

here’s my code: https://codepen.io/buzz_lightyear/pen/gXLLpo


For your #quote selector, change the height:200px; to min-height: 200px;, so the height will at least be 200px but can grow to accommodate a longer quote.


yes but that doesn’t solve my moving icon problem …the twitter icon still moves up and down with the size of element


icon is fixed with min-height…ok but what about the div height which increases with element …it’s like a glitch…how do i solve this?