Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
10Dev28534yIf they keep asking you to design like that, I wish you luck in what will inevitably become media query hell
-
@10Dev
Truth. The most frustrating client I've had to work with in the last decade had the one Indian guy they'd brought on staff and his answer to everything was "it's just another media query."
Fuck that guy. -
msdsk31804y@10Dev
I just tend to ignore that and do it my way anyway. I know that for the company it would be easier to replace the designer than me, so gotta use the privilege where it's due. -
@sheriffderek at least % but at best vh vw vmin vmax.
CSS Viewport units
https://sitepoint.com/css-viewport-... -
@heyheni I would assume a button would be width:100% because it’s like my set as block. And then have a max-width: 240px or something and positioning by the parent.
-
@heyheni I can’t imagine using any of those units in this case / but I’ll have to try it out. My mindset is to let the content decide - and not only the context.
-
Yeah... everybody loves those buttons where the text doesn’t fit in after it’s localized. 40px? Looks perfect with that specific language and that specific text scale! Ship it!
[ Änderungen überne] -
@Lensflare - we’ll, I’m not saying a button should be 40px wide. (Everything tappable should be a min of 44x44px) - but certainly not 3vw either. The text in the button should decide. — oh! Though your comment was directed at me for some reason. Haha.
-
@sheriffderek yeah exactly. The button should grow according to the content/text.
Or be big enough for any content/text if dynamic size is not viable. -
I would make them a NON RESPONSIVE website that was pixel perfect.
Then when they want it responsive insist on EXACT pixel perfect designs for each size they want.
You have to punish stupid, or it stays stupid. -
@Lensflare And I will bill them for each iteration.
Of course, they will soon realize the "Tablet" and "Mobile" designs they gave me ALSO don't work very well when kept "Pixel Perfect".
At which time I will request they either submit "intermediary" designs for sizes between Tablet and Mobile... or ask them to admit that "pixel perfect" fucking died like 15 years ago and as web designers they should have god damn well known that and to kindly shut the fuck up so I can do my job.
It's 2020 and our designer gives me instructions in pixels. "Make the button 40px". What else, how should I make this flint arrow?
rant