samedi 31 mai 2014

Responsive Canvas in Bootstrap column?


Vote count:

0




I'm new to bootstrap and working on a project to help figure it out. I also don't know much LESS yet.


I have 2 columns: col-xs-3 and col-xs-9. In the 9 column, I have a canvas that I would like to retain a particular aspect ratio. I don't actually care what the aspect ratio is, as long as it's the same everywhere. Specifically, as wide as the column and a proper height for the given width.


I've tried using percentages for width and height, but even if that did work, it'd be less than ideal in a dynamic height column.



asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire