Header p in right top

I want to set my header section in right corner. In my header section there are two

elements .
In my CSS page I used this:
.header p {display: inline-block; float:right; }
But it remains in the same position , how can I resolve this?
this is my codePen:

Thanks for help!!!

You don’t need a full stop ". " to style html element tag. It is only for class selector. you haven’t given the class for header yet.

1 Like