i’m looking for a way to center an element (div, image…) right in middle of the screen (flex). I tried ionic grid. But I have to set the height of the row manually. Is there a ionic-, flex- or responive-way to set the height.
@shashikant your solution uses position:fixed, this is not supported in all browsers. Android versions lower then 3 will not render this correctly.
Instead, we should use position:absolute with top, bottom, left and right set to zero and applying margins to an inner element to create the intended behaviour.