2068837226

If you’re writing blog articles with, you might have noticed that images don’t look quite-right sometimes.

The solution is to use the “img-responsive” class of twitter bootstrap (included in CMS on Sails by default).

responsive design is a way of designing websites that fit themselves to the screen they’re viewed on

For example:

Use:

<img src="hello.jpg" class="img-responsive">

instead of

<img src="hello.jpg" width="100">

this will adjust the image automatically to fit the width of the blog’s text.


*subscribe at the top to learn how to get the most out of CMS on Sails