I have to make sure that an HTML element (an input box in this case) is 'optimal' on different screen resolutions Keeps the width.
My subjective rule (for simplicity: ignoring the requirement of margins): Is it Pure CSS (and still IE8 support) can be achieved? As others have said, you can use media queries, for your needs here There is an example.
Input {width: 40%; Minimum-width: 200px; } @ Media (max-width: 200 px) {Input {width: 100%; Minimum width: 0; }}
No comments:
Post a Comment