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
-
kiki353264yYour ul:last-child is enough to qualify as a separate entity, consider use a dedicated class name for it
-
kiki353264yAlso you disable outline for the input but that’s not gonna help, you should disable it on :focus and ALWAYS PROVIDE THE VISUAL ALTERNATIVE to make it clear that the input is focused, otherwise your ui will be trash
-
kiki353264yAlso you use 0px, consider using just 0 for zero-resembling values. A zero is a zero in css no matter the unit
-
kiki353264ybackground: transparent for the input is wrong on so many levels. Either use background-color: transparent which I don’t recommend or use background: none. But you should probably use background-color: white in this case
-
kiki353264yAt least you used pointer cursor for an interactive element (it’s better be fucking interactive) so kudos for that.
-
-
From an design standpoint the shadows should be way less intrusive. Make them more transparent and possibly an mix-blend-mode
-
Also take a lot of care on the Animation time. These kind of design elements can be quite distracting if done wrong, also check how it translates, some method are better than others
-
It is named Red Stapler - but there is not a single red pixel on the screen.
Put a little red stapler inside the empty circle at the top. -
@F1973
the original neumorphic design also is probably the easiest way to age-restrict an app to 70-.
Grandpa will only see a flat surface without any interactive elements while younger people just squint a bit and get the full UI. -
@F1973 Oh man thanks for mentioning this name! I've been looking for neumorphic designs for ages but never knew what they were called!
-
kiki353264y
-
@Afrographics depending on how you wrote your code, it translated the color from a to b, or moves two different layers of one box-shadow definition with different color from a to b, or it just Fades pseudo elements with the different states, or you use a completely different method.
Transitions and animations aren’t just „ah we’ll see how the browser does it“ -
@uyouthe the problem I want to apply the style to the parent element of the input
-
@Afrographics I’d overthink the DOM then, sometimes there is no other way, but usually it’s a sign of bad structure
-
kiki353264y@Z-GOD fair point but there is many valid units and there is no reason to think like “oh it’s 0px but I need to make it responsive so I shouldn’t use vw I should only use px because it already says px”
-
There were many hate rants for neumorphism here back when it was trendy. I thought everyone hated it.
Designing some stuff. 😊
random
web design/css/html