I'm trying to get bootstrap and less.js working but I can't succeed... I have not worked much with less in the past, so I'm wondering if I'm missing something... It is runing on a synology server. On runtime it seems to generate the boostrap css as it should "less:sandbox-css-bootstrap" is append to the html but it does'nt get the value from variables.less
Here's my head
<meta charset="utf-8">
<style>
body {
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
}
</style>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script src="js/bootstrap.js"></script>
<link rel="stylesheet/less" type="text/css" href="css/bootstrap.less">
<script type="text/javascript" src="js/less-1.3.3.min.js"></script>
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="../assets/js/html5shiv.js"></script>
<![endif]-->
Does anyone know what am I doing wrong? Thanx in advance
Built with LESSBootstrap is made with LESS at its core, a dynamic stylesheet language created by our good friend, Alexis Sellier. It makes developing systems-based CSS faster, easier, and more fun.
All Bootstrap's JavaScript files depend on util. js and it has to be included alongside the other JavaScript files. If you're using the compiled (or minified) bootstrap. js , there is no need to include this—it's already there.
Bootstrap Carousels In web design, you can create a pure CSS carousel without JavaScript — or you can use Bootstrap to create one.
Sass is compiled down to CSS before it's used on web pages. Until Bootstrap version 3. x, you had a choice between CSS preprocessors: Less or Sass. But since version 4, Bootstrap uses only Sass.
Change the order of your initialization. Place dependencies above the others. like place bootstrap.less above all other CSS's
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With