Fundamentally? Of course, what is this for.
Whether this is correct depends on what exactly you want to do.
You just need to take care of the consequences - for example, the need to use a property clearwhen using several subsequent floating elements to avoid unwanted effects.
source
share