There is a simple way to add some data inside data step.
It uses datalines
use class “centre-block" | |
There is .center-block class in Twitter Bootstrap 3 (Since v3.0.1), so use: | |
<img src="..." alt="..." class="img-responsive center-block" /> |
|
#banner{ | |
background-image: url('images/mac.jpg'); | |
min-height: 800px; | |
background-position: center; | |
background-repeat: no-repeat; | |
background-size: cover; | |
-webkit-background-size: cover; | |
-moz-background-size: cover; | |
-o-background-size: cover; | |
height:100%; |
This is a quick tutorial explaining how to get a static website hosted on Heroku.
Why do this?
Heroku hosts apps on the internet, not static websites. To get it to run your static portfolio, personal blog, etc., you need to trick Heroku into thinking your website is a PHP app. This 6-step tutorial will teach you how.
<!-- Video background --> | |
<div class="row" id="bgvid"> | |
<video controls width="100%" height="100%" autoplay="autoplay" loop="loop" muted="muted"> | |
<source src="rain.mp4" type="video/mp4"> | |
Rainfall | |
</video> | |
</div> | |
<!-- Video background ends--> |
Question: | |
I work on a WordPress site where the authors usually embed Google Maps using iFrames in most posts. | |
Is there a way to disable the zoom via mouse scroll wheel on all of them using Javascript? | |
Solution: | |
I was having the same problem: when scrolling the page then the pointer becomes over the map, | |
it starts to zoom in/out the map instead of continuing scrolling the page. :( |