Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I would really like to learn how to use Twitter Bootstrap 3. The problem is that it seems I can't find a good source to learn it from. Any source I've tried so far assumed that you somehow have some knowledge and wasn't explaining what are the available classes for elements, what are the classes they have used are actually doing etc.
I simply want a source it can either be a book/videos or w/e that will start from scratch and if possible, will use HTML5, modernizr and respond.js to make it cross-browser supported and actually give me a start point (base folder just like H5BP) which I can then later on start building my own websites.
Thanks in advance!
The bootstrap docs are really helpful, probably the best resource.
http://getbootstrap.com/getting-started/
http://getbootstrap.com/components
My first recommendation is to learn CSS in depth. Oftentimes, Bootstrap is just not necessary, but developers rely on it because they are too lazy to master CSS fundamentals. You are welcome to check my book series - Functional CSS - which covers almost the entirety of CSS using practical examples.
If you are keen on sticking with Bootstrap, then you can 1) print the source code for their example (Bootstrap examples) and simply re-implement them on your own, typing each block of code one line at a time and observing the effect, and 2) read the Bootstrap source code. The latter is a bit over 6000 lines and should not take long to go through. And, 3) reflecting on what you have learned in 1 and 2, create personal realistic website that uses Bootstrap.
If you are looking for a good source here is one: http://ieatcss.com/twitter-bootstrap-tutorial.html
3 Step by step real time examples are used in Ieatcss bootstrap 3 tutorial. You can easily understand them without any knowledge of the basics.
Don't worry about learning CSS & other messy things. The tutorials in http://ieatcss.com is targeted at complete beginners, you can easily understand them.
Regards,
Hussain.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I working on a right way to conduct the styling for a rather big website project, as I get usually stuck half-way, when the complexity increases. I already read quite some literature and found a lot of useful tips on the Internet, e.g. "use meaningful class names", and the like.
However, most sources are concerned with the actual working principle of CSS which are illustrated by rather short code examples. What I am actually looking for is a guide describing the styling of a website from start to end, including possible naming conventions, class management, file management and the like. Really great would also be a code example of medium-sized, or big site.
I am also grateful for any reference to books, magazines, articles and the like.
As I am not aware of any reference to book, I just follow basic things which makes my work quite smooth. Yes meaningful class names are must with that Try following the below which might help you
Keep the code clean and neat which is indenting the code before you wrap up for the day
Divide your css into part (Place the code of header and footer in one files Ex:base.css and the body part in another css Ex:main.css)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm looking for automated tools to help me refactor a bunch of CSS files, for example:
Remove unnecessary selectors (e.g. not used inside the page)
detect repeatable rules inside several selectors and suggest a merge
Are there any such tools?
Thanks!
Yes Google Page Speed does this CSS investigation. Link:
http://code.google.com/speed/page-speed/docs/overview.html
not totally automated, but this one works well.
I like the fact that I can see what I'm changing. While I've done UI for 15 years, there's always little things that I notice myself repeating via using this tool. In the long run, doing things a bit manually is going to make me a better developer.
Doing one that looks for unnecessary selectors is a dangerous game. You could do it, but if you ever find yourself doing dynamic and/or ajax injected divs, you'll immediately blow up your page or app using an automated tool. If you do it, make sure it's not something that works on the fly, without some sort of very good testing environment to verify the resulting output. My current corporate clients would never allow me to use any sort of point-of-request tool based on their requirements of 100% tested and verified CSS.
This tool can do automatic css refactoring, though its value in project still need to evaluate carefully.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Examples might include:
buttons (class="button" or similar)
rounded boxes with headings (class="content-box" or similar)
nice looking html tables (class="nice-table" or similar)
customised html form fields
[example class names just to give an idea of expected behaviour]
Basically I just want some readymade CSS for common things.
My non-designer friend wants to get started creating a web app and I feel that ready made simple but attractive CSS classes would be a great help.
Try this ones:
http://twitter.github.com/bootstrap/ — css framework from creators of twitter, have wide range of common elements.
http://foundation.zurb.com/ — another framework with hight focus on prototyping.
There is Skeleton: http://getskeleton.com. It has both JS and CSS patterns and is helpful for developing sites quickly, it's also mobile friendly.
jQuery UI provides a nice framework for this, even if you don't use the javascript side of things. You can reuse their CSS for whatever you need. See here:
http://jqueryui.com/docs/Theming/API
http://twitter.github.com/bootstrap/
YUI3. Yahoo! has created some of the best rules for web development.
Reset - level all browsers
Fonts - level all fonts
Base - reapply some common styles
Grids - best way to manage grid-like layouts
http://yuilibrary.com/yui/css/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Just curious does anyone know a program or script to generate a style sheet(with blank values obviously) from the structure of your html document? Basically just pull out the ID's and Classes you set in your html and make placeholder css so you don't have to plan it ahead of time or write it again ,remember D.R.Y. anyone?:) Feel free to yell at me if you don't think this could help anyone else here :D . I'm sure I could whip something up like that but if it's already out there I might as well stick to my rule of DRABEE(Don't repeat any body else either) . Thanks.
Did you check http://primercss.com/ ?
Seems to be doing exactly what you are asking for.
CSS Frame Generator http://lab.xms.pl/css-generator/ works better than Primer.
Little late to the party but these days, there is also BearCSS:
http://www.bearcss.com/
Disclaimer
This answer is primarily meant to add extra value to this thread and create an overview of CSS generators.
In my opinion, after trying all the mentioned tools in this thread, http://lab.xms.pl/css-generator/ is the best one.
I found the best tools out there, after rigorous comparisons of the different available ones:
If you want to generate CSS automatically from the markup online for free, then you need BeeCSS - CSS Generator:
http://beecss.theextremewebdesigns.com/
If you already have (messy) CSS & you would like to clean/minify it online for free, then you need BeeCSS - Cleaner Minifier
http://beecss.theextremewebdesigns.com/css_clean_css_minify/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I'm diving into CSS and would like to practice coding from PSDs. Any sites where I can grab free designs in PSD format?
Or any other suggestions for practicing?
Take a
screen shot of a website you think
would be challenging, slice and dice
any images needed yourself in
Photoshop and then re-create it via
HTML/CSS. Of course most websites are
under copyright and you could not use
any of their intellectual property
(e.g. images, design, code, etc...)
in any public manner.
Practice/improve
your CSS skills on the CSS Zen
Garden. The site
was created in such as way that
developers can dramatically change
it's presentation purely with CSS.
Look through the designs and see how
that developer accomplished it. After
you are done with your own design you
can submit it to be shared.
See if you can find a sample/demo template from one of the many template retailers on the web. Discard their HTML/CSS and recreate yourself.
You may need some "filler" content to make your design more realistic. You might try a lorem ipsum generator.
I may be not really helpful, but I truly remember myself struggling with no production experience.
And, as I did, the best way to get it, was to give free of charge services of html/css coding.
as long as you're not publishing the designs as your own, copying for the purposes of education is protected as "fair-use".
Copy Copy Copy
Practice re-creating everything. Read through the stylesheets of sites you like, and take notes on what elements are present in them.
Don't limit yourself to just sites like what you are planning on creating, copy completely unrelated pages too. There are many companies that will publish images of designs: copy those too.
When you've crated a clone page, start tweaking styles. Add a border here, tweak some margins there. The more you play with it, the more you'll understand it.
Also: read through the CSS specifications:
CSS1
CSS2
CSS3
And make sure you've got a good grasp of HTML by reading the html specs too.
It can be slow. It may be boring. It will be worth it.