A modern responsive front-end framework based on Material Design
71–80 of 96 posts
Re: A modern responsive front-end framework based on Material Design
#72Specifically, the range input uses a bubble on mouseover, which is not touch-screen friendly. I've also had minor issues with the select widget not closing after a selection is made. Additionally, the styles for labels is inconsistent amongst different input types.
For everything else, this library is wonderful. The forms area could use some polish.
Re: A modern responsive front-end framework based on Material Design
#73Earlier quoted context omitted.
I'll take the opposite side - pastel colors are horrible and disgusting. I can't imagine why anyone would like pastel colors.
Ugh, I don't understand you color fanatics. I like my user interfaces black and white - you know, like on an amber monitor. /s
Re: A modern responsive front-end framework based on Material Design
#74This framework really impressed me when I first saw it and made me immediately wanna use it. However, when I took a closer look I found a few things that annoyed me: - The required HTML classes seemed kinda bloated and not semantic, but I intended to fix that with Sass (well, officially they're on Less) - The input elements have weird animation on page load - When I just dropped in some basic elements, like an input…
Let me know what you think!
Re: A modern responsive front-end framework based on Material Design
#75Re: A modern responsive front-end framework based on Material Design
#76"Generally it is wise to import javascript files at the end of the body to reduce page load time." Does this really make a difference? Even if it did, wouldn't it lead to seeing a jump in the content after the CSS loads?
This lets my templates contain initialization functions inside of $(document).ready(function() {...}); calls without running into a "$ not defined" error.
The alternative would be to somehow bubble up from my templates a list of initialization functions to call, or to have every page load run through a bunch of tests to find things that need to be initialized. I think the tradeoff of loading jQuery early is worth it, especially since I usually load it from Google's CDN so it's probably cached.
Re: A modern responsive front-end framework based on Material Design
#77Looks great. However, I've never really understood this sort of approach: Alvin Alvin Alvin Alvin Rather than assigning a "collection-item" class to each "li", would you not simply style the "li" in the context of "collection"? Bootstrap does a similar thing. Drives me nuts...
Using element names instead of class names can be problematic. In some frameworks you may need to use a different element or an element that wraps another element to achieve certain functionality.
Some use generic names like "button large" as class names, but, again in my personal experience, it often causes problems. You might have other elements that need to be "large" and may need to be inside a button - but which "large" do you mean.
So to keep things predictable, I've adopted the following practices:
- Always namespace components.
- Always ensure that selectors work even if the child has a wrapper around it.
- Whenever possible use classnames instead of element names.
And to ensure I don't get tendonitis (not sure if everyone agrees with this):
- If possible provide a shorthand for at least the most used components (i.e. "col"/"col-i" for "collection"/"collection-item"
Re: A modern responsive front-end framework based on Material Design
#78One thing I've noticed about Material Design is that most of the examples of "best designs" have elements that are overlapping to some extent, but none of the frameworks that I see make it easy to have overlapping elements with defaults like grid layouts. I guess this isn't limited to just material design though. It seems like many times overlapping visual elements is a subtle indicator of a more professional design.…
Re: A modern responsive front-end framework based on Material Design
#79Earlier quoted context omitted.
Performance is penalized too. Since CSS rules are parsed from right to left and you have probably a lot of "li" tags, the rule would be very inefficient. Of course this doesn't matter in small pages.
It does not matter in any real life pages.
Re: A modern responsive front-end framework based on Material Design
#80The menu animation is really slow on Firefox 37 on Mac OS X. The way pages load and then more animations happen seems jarring. I've not used any material based apps, so maybe I'm just not used to how things work.