TechToFreedom
Published in

TechToFreedom

CSS Position: Locate Your HTML Elements Like a Guru

From static to sticky locations

CSS Position: Locate Your HTML Elements Like a Guru

CSS is powerful.

Sometimes, just a special CSS property is enough to do something amazing. The position property is one of the magic properties.

For example, if we have a few pictures on a page:

<div><img src="p1.jpg"></div>
<div><img…

--

--

Technology gives us more and more freedom. Start learning today.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store