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