I'm using bootstrap libraries for making responsive web application
For some requirement i'm using media query for all the screen size as mentioned in below link
http://css-tricks.com/snippets/css/media-queries-for-standard-devices/
I've a doubt
whether its a right way to develop ?
Do i need to learn and use bootstrap more ,if yes how
No this is not the right way. You need to learn about bootstrap fully. Its full for responsive designs. Its very easy to learn. Just refer this website
Related
I'm actually working on a responsive Website (with Wordpress). For responsiveness I usually use Bootstrap's grid, but this time the design mockup is completely different for the 2 views so there's no really good way to use Bootstrap here.
I was thinking of using display:none rule to switch view.
But my concern is: is it a good practice to do it because everything will be download twice for Mobile and Desktop view. If not: is there another way to do it?
Take a look at the visibility classes that bootstrap has.
The table below is the best overview how it works.
https://v4-alpha.getbootstrap.com/layout/responsive-utilities/
Though its not recommended and consider as bad practice to use display none. But mostly try to avoid it. If possible, you can use media queries to adjust the styling for mobile views.
I have a website project that I'm doing in Bootstrap3, but the top menu was done in 960gs. What is the best way to use both at the same time, without one interfering with the other?
The best way is to not use both. 960gs is not responsive. Instead of spending the time to make it responsive, it would be more advisable to create the menu using bootstrap so it's responsive from the start and you eliminate a secondary framework.
If you want to move forward with using both frameworks you can namespace bootstrap. This has already been answered here:
How to namespace Twitter Bootstrap so styles don't conflict
and
css framework for an app with existing stylesheet
I'm starting with CakePHP 3 and I see new CSS and responsive design support; I've searched info about styles utilization because I want to put custom backgrounds depending device width (using min-width of mq-small, mq-medium, mq-large, mq-xlarge, mq-xxlarge. from cake css) but I didn't found info.
There is documentation about this? Is a plug-in or is a css only for responsive columns?. This code can be seen in css "base.css" from cakephp 3 (I'm using 3.0.2)
Thank you
CakePHP 3 uses the Zurb Foundation front-end framework. Which means that the classes you want to use will be listed in their documentation.
For responsive design you will want to look into the grid.
Good luck!
I need to add responsive design features to my web application using Twitter Bootstrap. I just want the responsive behavior, I'm not interested in the typography, components or any other stuff included in Bootstrap.
I got a customized Bootstrap version just selecting the grid system. However, when I add the generated CSS to my application, all my styles are messed up (header, links and others). Why is that happening? How can I get a Bootstrap CSS with just the grid system? I would like to avoid a manual modification of the Bootstrap files.
Go to http://getbootstrap.com/customize/ and toggle just what you want from the BS3 framework and then click "Compile and Download" and you'll get the CSS and JS that you chose.
Open up the CSS and remove all but the grid. They include some normalize stuff too. And you'll need to adjust all the styles on your site to box-sizing: border-box - http://www.w3schools.com/cssref/css3_pr_box-sizing.asp
Checkout zirafa/bootstrap-grid-only. It contains only the bootstrap grid and responsive utilities that you need (no reset or anything), and simplifies the complexity of working directly with the LESS files.
Just choose Grid system and "responsive utilities"
it gives you this: http://jsfiddle.net/7LVzs/
Made a Grunt build with the Bootstrap 3.3.5 grid only:
https://github.com/horgen/grunt-builds/tree/master/bootstrap-grid
~10KB minimized.
If you need some other parts from Bootstrap just include them in /src/less/bootstrap.less.
I would suggest using MDO's http://getpreboot.com/ instead. As of v2, preboot back ports the LESS mixins/variables used to create the Bootstrap 3.0 Grid System and is much more light weight than using the CSS generator. In fact, if you only include preboot.less there is NO overhead because the entire file is made up of mixins/variables and therefore are only used in pre-compilation and not the final output.
It looks like you can download just the grid now on Bootstrap 4s new download features.
It's been a while since this question was asked, but maybe now you can forego Bootstrap altogether and use CSS Grid! (it's simpler, neater, more flexible and faster). See this cool article: Stop using Bootstrap — create a practical CSS Grid template for your component based UI
In Bootstrap 4, there are already separated files in their GitHub. You can find them here
https://github.com/twbs/bootstrap/tree/main/dist/css
The card design approach utilized by Google Plus or Facebook is great. How can I do so using twitter bootstrap 2.3 (can't use 3) where I do not want my card size and content to stay sane for a responsive design? I mean, I want the re-sizing to of a card based on the screen size and the content on it stay acceptable. Sorry for the fuzzy question. I am not sure how to be best ask what I have in my head.
Any website you may that that has card ui desing and using bootstrap?
Is there any framework that help with Card UI for desktop web application in general?
Found this the other week and it's exactly what you want:
Bootplus - Sleek, intuitive, and powerful Google styled front-end framework for faster and easier web development (Based on bootstrap)
The particular section you want is under Plus.
So just take the styles you need and you're good to go.
In my case I didn't want a fully fledged framework as I tend to like more the componental way of adding features, since modern web times...
Bootcards does just Cards in three flavors (Android, iOS, Desktop).
http://bootcards.org/index.html
A great addition to Bootstrap and supports bower which was just perfect as a simple command and a couple of lines got me set up.
This has the obvious advantage of decoupling framework core from fancy cards.
Moreover its style is not shouting Google Plus all over like bootplus, which is great to give it a genuine touch.
Just another option ;) hope it helps someone