Skip to content

float #62

Answered by Bunny77K9
DuajDiaz asked this question in Q&A
Jun 18, 2022 · 1 comment
Discussion options

You must be logged in to vote

Float is a popular property in CSS to control the layout and position of an element on a web page.

Any element can be placed on the web page as per requirement. Consider the following example:

div { float: right; }

Here, the contents of div will be placed on the right side of the screen.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DuajDiaz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants