Newbie question, in this example how will I code this circle like floating. in sec 1 and sec 2
I will use floating or position absolute in css to make it float? in section 1 and section 2 like in this image example, hope you can help me thank you
3 Replies
You won’t be able to do this with float, at least no with float alone.
As you say, you could use absolute.
You could also use margin or translate. It somewhat depends on your html and what you actually want to achieve as regards scrolling and responsiveness.
You could also use margin or translate. It somewhat depends on your html and what you actually want to achieve as regards scrolling and responsiveness.
just to add to this, you probably shouldn't use float in this case. It's only proper use is to make text flow around images, it shouldn't be used for layout
thank you sir @Chris and sir @jochemm ❤️