css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <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>
            
          
!
            
              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;
}



            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console