Was this valuable to you?
other links and editorials from peace_on_earth
A question was raised by someone as to how to make images responsive on mobile devices. valME.io uses Twitter's Bootstrap for its .css, and it's wonderful. To make images responsive, you only need to add the .img-responsive class to your image as described here:
<img src="..." class="img-responsive" alt="Responsive image" />
This applies max-width: 100%; and height: auto; to the image so that it scales nicely to the parent element. Simple.
About csstemplates
Based on the excellent suggestion by digdug, this community is to share style sheets/.css templates you can use for posts. If you're a .css expert, we'd welcome some experienced experts to become moderators.
Please do not redefine standard html tags in your templates (e.g., don't do this: blockquote { font-size:30px; }), as it can cause problems with comments that use those tags. Always create your own classes - e.g.:
<style>.my-blockquote { font-size:30px; }</style> <div class="my-blockquote">my very large blockquote</div>
Someone's Reading
Related Posts
Latest Activity
-
c_prompt commented on "Map maker, map maker, make me a map... make me a perfect map" in politics
-
dj_tranceriver started community dj_tranceriver
-
DwayneDavies started community DwayneDavies
-
c_prompt posted "Jokes... or are they? "Luminations"" in funny
-
shwapneel_1999 started community shwapneel_1999
-
discapacidad5 started community discapacidad5
-
3rd_coast_sailing joined 3rd Coast Cruising with another community
-
3rd_coast_sailing started community 3rd Coast Cruising
-
3rd_coast_sailing started community 3rd_coast_sailing
-
c_prompt flagged "Νόμιμες Εταιρίες Στοιχήματων Στην Ελλάδα" in removed
-
c_prompt voted down "Νόμιμες Εταιρίες Στοιχήματων Στην Ελλάδα" in removed
-
buddhimat posted "Sunday 5/23 Power Core Yoga" in buddhimatyoga
-
c_prompt posted "Life" in Note to Self
- More...
And it worked beautifully! Thank you!