ASP.NET MVC3 CSS framework

I am wondering which css structure is best for ASP.NET MVC 3? I tried yaml and I have a few drawbacks, in my opinion, at least using ASP.NET MVC 3:

  • uses inputs for buttons by default (therefore, it is not compatible with jquery ui, since jquery ui uses buttons in dialogs, for example).
  • you need to configure css to check ASP.NET MVC 3.
  • I donโ€™t like the way they describe the forms (well, it can only be my subjective opinion on this, in any case you need to use custom editors if you want to adhere to the yaml css style).
  • Some css class names are not very intuitive.

Nothing, it will be a traffic jam, but maybe there is a better alternative - something that is adapted for ASP.NET MVC-specific or may be an ASP.NET project project outline adapted to the yaml css structure.

Update: OOCSS looks good, easy and well structured, worth checking out.
Update 2: TwitterBootstrap is becoming popular, you can get it for asp.net mvc here http://nuget.org/packages/Twitter.Bootstrap

+6
source share
1 answer

I used both Blueprint ( http://www.blueprintcss.org/ ) and 960Grid ( http://960.gs/ ) quite successfully with MVC.

But lately I've been leaning towards "BlueLess" ( https://github.com/michaek/blueless ) - ".LESS" ( http://lesscss.org/ ), and also just a great "Chirpy" ( http: / /chirpy.codeplex.com/ ) VS2010 add-in that automatically converts and minimizes CSS, Javascript, LESS, CoffeeScript, etc. Transparent enough. Just a great tool.

Both Blueprint and 960Grid are for layout and typography ... for form / style design I would look at the standard JQuery user interface infrastructure ( http://jqueryui.com/ ) .. or possibly the Telerik MVC extension ( http: // www.telerik.com/products/aspnet-mvc.aspx )

Hope this helps.

+4
source

Source: https://habr.com/ru/post/893263/


All Articles