Adrian Padmodihardjo
1 min readApr 15, 2019

--

i’d rather use margin/padding/transform property to move my content relative to its static position, rather than using `position:relative` along with `top right bottom left`.

i believe that `position:relative` should only be used to establish ancestor reference for its absolute positioned descendant.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Adrian Padmodihardjo
Adrian Padmodihardjo

Written by Adrian Padmodihardjo

Front-End Developer. Bandung, Indonesia.

No responses yet

Write a response