why is float not working code example Example: float is not working float wont work if the parent is an flex box so change it to block