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

              
                <div class = "grid" id = "pg1">
  <div class = "heading">
  Sencha 煎茶
  </div>
 
    <div class = "nav">
    <a href = "#pg3">Prev</a>
    <a href = "#pg2">Next</a>
  </div>
  
  <div class = "content">
    <img src = https://perfectsouth.com.au/wp-content/uploads/2012/04/sencha-first-harvest-perfect-south-1.jpg width="500" height="500"/>
  </div>
  
  <div class = "text">
        <p>Most popular and well-known variety of green tea. It made through the most common processing methods of the tea produce in the Japan.</p>
      <p>Different types of Sencha:
        <li>Shincha</li>
        <li>Asamushi</li>
        <li>Fukamushi</li>
        <li>Chumushi</li>
        <li>Powdered</li>
        <li>Uji</li>
        <li>Shizuoka</li>
        <li>Kyushu</li>
    </p>
  </div>
  
</div>

<div class = "grid" id = "pg2">
  <div class = "heading">
  Matcha 抹茶
   </div>
      <div class = "nav">
    <a href = "#pg1">Prev</a>
    <a href = "#pg3">Next</a>
  </div>
  
  <div class = "content">
    <img src = https://cdn.shopify.com/s/files/1/1174/3374/products/matcha-green-tea-3_1024x1024.jpg?v=1475095100 width="500" height="500"/>
  </div>
  
  <div class = "text">
    <p>Most expensive and selling in small quantities of the forms. It made through shading before plucking and ground into a fine Matcha Powder. It used in making of traditional Japanese Confections, various savoury dishes and desserts such as Matcha Ice Cream, Parfait, Latte and etc.</p>
       <p>Different Culinary Grade of Matcha:
        <li>Premium</li>
        <li>Cafe</li>
        <li>Ingredient</li>
        <li>Kitchen</li>
        <li>Classic</li>
  </div>
  
</div>
  
  <div class = "grid" id = "pg3">
  <div class = "heading">
  Genmaicha 玄米茶
   </div>
      <div class = "nav">
    <a href = "#pg2">Prev</a>
    <a href = "#pg1">Next</a>
  </div>
    
    
  
  <div class = "content">
    <img src = https://perfectsouth.com.au/wp-content/uploads/2012/04/genmaicha-first-harvest-perfect-south-1-871x580.jpg width="500" height="500"/>
  </div>
  
  <div class = "text">
    <p>Known as Japanese Brown Rice Green Tea consisted of green tea mixed with roasted brown rice. Having low caffeine content, children and elderly people will be enjoyed as tea break or after meal beverage.</p>
       <p>Different Health Benefits of Genmaicha:
        <li>Antioxidants</li>
        <li>Lower Blood Pressure</li>
        <li>Cancer Prevention</li>
        <li>Heart Health</li>
        <li>Relaxation</li>
  </div>
</div>

<!--
http://www.itoen-global.com/allabout_greentea/varieties.html
https://epicmatcha.com/matcha-green-tea-powder/
https://fanaledrinks.com/blogs/blog/18543147-5-health-benefits-of-drinking-genmaicha-tea
--!>
              
            
!

CSS

              
                .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

}

.grid > div {
  border-radius: 15px;
  border: 10px groove white;
  background-color: #99B898;
  padding: 1em;
  color: white;
}

.heading
{
  font: 25px Trebuchet MS, sans-serif;
  font-style: oblique; 
  height: 30px;
  text-align: center;
}

.nav
{
  font: 25px Trebuchet MS, sans-serif;
  font-style: oblique; 
  height: 30px;
  text-align: center;
   
}


.content
{
  height: 500px;
}

.text
{
  font: 22px Museo Sans, sans-serif; 
}
              
            
!

JS

              
                
              
            
!
999px

Console