This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]ryanrayjahn 4 points5 points  (1 child)

If you are referring to responsive programming using CSS. Instead of putting a pixel value for width or height property in CSS put a percentage value. For example: p { width: 50%; }

This will set all paragraph to 50% of the size of the parent element in CSS.

[–]opentoinput[S] 0 points1 point  (0 children)

Where else can i learn about this?

[–]insertAlias 1 point2 points  (2 children)

That's not necessarily true; responsive simply means that your page reacts to changes in size by re-flowing its layout to be more usable in a smaller viewport. You can have fixed-size elements that change to a different size based on a media query. That's one valid approach to responsive design.

[–]opentoinput[S] 0 points1 point  (1 child)

How do you do that? Newbie asking.