Welcome!
.jumbotron
and .section
elements, something like this:
Welcome!
frontend.css
which is compiled from assets/css/less/ace-frontend.less
HEAD
element which is used to specify background images.
.jumbotron
contains the background image:
In Ace's demo, this image is dynamically scaled when window is resized to fit window's width.
$(window) .on('resize.bg_update', function() { var width = $(window).width(); if(width < 992) { $('.img-main-background').addClass('hide'); $('.jumbotron').addClass('has-background'); } else { $('.img-main-background').removeClass('hide'); $('.jumbotron').removeClass('has-background'); } }).triggerHandler('resize.bg_update');
ace.js
and ace-elements.js
are not required
26Minutes