Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <link href='https://fonts.googleapis.com/css?family=Alice' rel='stylesheet' type='text/css'>

<body>
  <div class="body-text" id="blackbox">
    <h1 class="text-center">Ganesh</h1>
    <h2 class="text-center">Remover of obstacles</h2>
    <h3 class="text-center">Son of Shiva and Parvati</h3>
    <img class="ganesha-image img-responsive" src="http://www.askganesha.com/images/ask-ganesha.jpg" </img>
  </div>


  <ul class="ul diya">

    <li>Ganesh wrote the Mahabharata as dictated by Vyasa</li>

    <li>According to the strict rules of Hindu iconography, Ganesh figures with only two hands are taboo. Hence, Ganesh figures are most commonly seen with four hands which signify their divinity. Some figures may be seen with six, some with eight, some
      with ten, some with twelve and some with fourteen hands, each hand carrying a symbol which differs from the symbols in other hands. There are about 57 symbols in all, according to the findings of research scholars.</li>
    <li>Ganesh created by his mother Parvati as the most handsome in the land was to guard her door from any who would enter had his head severed by his unknowing father Shiva. Upon learning that this was his son he sent his followers to bring the head of
      the first living creature they came in contact with. This is where the elephant head comes from.</li>
    <li>Shiva, after reviving his son decreed that ever more Ganesh would preceed all others in acts of devotion by his followers.</li>
  </ul>
  <div class="container">
    <div class="buttons">
      <a href="https://www.youtube.com/embed/t9A0y2ohGt8">
        <img src="https://4.bp.blogspot.com/-uFQdkOBc9a8/UDzKnocvrPI/AAAAAAAAAI0/xigzTJCZPec/s1600/Homa-Ganesha.jpg">
      </a>
      <text>Watch a Ganesh Puja</text>
    </div>
    <div class="buttons">
      <a href="http://hinduismfacts.org/hindu-gods-and-goddesses/lord-ganesha-or-ganapati/">
        <img src="https://4.bp.blogspot.com/-uFQdkOBc9a8/UDzKnocvrPI/AAAAAAAAAI0/xigzTJCZPec/s1600/Homa-Ganesha.jpg">
      </a>
      <text>More facts about Ganesh</text>
    </div>
    <div class="buttons">
      <a href="http://www.speakingtree.in/online-pooja/ganesh-pooja">
        <img src="https://4.bp.blogspot.com/-uFQdkOBc9a8/UDzKnocvrPI/AAAAAAAAAI0/xigzTJCZPec/s1600/Homa-Ganesha.jpg">
      </a>
      <text>Have a puja performed for you</text>
    </div>
  </div>
  </div>
</body>
              
            
!

CSS

              
                body {
  background: #00BFFF;
}

h1 {
  font-size: 100px;
}
.ganesha-image {
  margin: 0 auto;
  
  }
#blackbox {
  background: rgba(0,0,0,180);
  margin-left: 30px;
  margin-right: 30px;
  margin-top: 30px;
  padding: 5%;
  
}
.body-text{
  color: #00BFFF;
    font-family: alice;
}
.ul {
  font-weight: bold;
  
}
ul {
  list-style-image: url('http://www.dharohar.in/wp-content/uploads/2014/10/diya.png');
 }
li {
  margin-bottom: 10px;
}

.buttons {
  flex-basis: 33%;
  min-width: 180px;
  margin: 8px;
  padding: 8px;
}
.container {
  display: flex;
  flex-direction: row;
}



              
            
!

JS

              
                
              
            
!
999px

Console