View LESS_Convert-PX-to-REM.txt
For the project I was working on, rather than having one base font size, we have two based on a desktop and mobile viewport.
@mobile-base-font: 16;
@desktop-base-font: 18;
html {
font-size: (@mobile-base-font*1px); /* rem unit for mobile and tablet */
@media @desktop {
font-size: (@desktop-base-font*1px); /* rem unit for laptop and desktop */
}
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View ccoyier-bootstrap-blocked-table.css
.table {
font-size: 16px;
line-height: 22px;
color: #53626f;
display: block;
position: relative;
}
.table thead {
display: block;
float: left;
View dbushnell-bootstrap-table.css
.table {
font-size: 16px;
line-height: 22px;
color: #53626f;
display: block;
position: relative;
}
.table thead {
display: block;
float: left;