CSS Gradients

In this video we get to see how we can:

1. Override Bootstrap default styles.

2. See how CSS gradients can be generated, and what they look like in code.

wp-content/themes/customtheme/index.php

<style>
.jumbotron {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#1e5799+0,2a8ee0+31,207cca+100,7db9e8+100 */
  background: #1e5799; /* Old browsers */
  background: -moz-linear-gradient(left,  #1e5799 0%, #2a8ee0 31%, #207cca 100%, #7db9e8 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left,  #1e5799 0%,#2a8ee0 31%,#207cca 100%,#7db9e8 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right,  #1e5799 0%,#2a8ee0 31%,#207cca 100%,#7db9e8 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=1 ); /* IE6-9 */
  color: white;
}
</style>

Complete and Continue