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