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


Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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


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.


                <!DOCTYPE html>
<html lang="en">
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <link href="" rel="stylesheet">
  <!-- reset -->
  <link rel="stylesheet" href="">
  <title>Tribute Page</title>
  <script src=""></script>
  <div class="container theme1 w-tribute">
    <header id="header"></header>
    <main id="main">
      <article class="attribute">
        <h1 id="title" class="section">Tribute to <br>Imam Nawawī <small>رحمه الله</small></h1>
        <div id="img-div">
          <img id="image" src="" alt="Forty_hadith_nawawi_taught_by_Sheikh_Usama_al_Azhari_in_Sultan_Hassan_Mosque">
          <div id="img-caption">Imam Nawawi's Forty Hadith taught in the Mosque-Madrassa of Sultan Hassan in Cairo, Egypt
        <section id="tribute-info" class="section">
          <h2>About Imam Nawawi <small>رحمه الله</small></h2>
          <p>Abu Zakaria Yahya Ibn Sharaf al-Nawawī (Arabic: أبو زكريا يحيى بن شرف النووي‎;‎ 1233–1277), popularly known as al-Nawawī or Imam Nawawī (631–676 A.H./1234–1277), was an influential Sunni Shafi'ite jurist and hadith scholar. He authored numerous and lengthy works ranging from hadith, to theology, biography, and jurisprudence.</p>
          <a href="" id="tribute-link" target="_blank">Read more at wikipedia &raquo;</a>
    <footer id="footer" class="section"><a href="">freecodecamp</a> project, "Tribute" By: <a href="">Windo</a></footer>  


                /* Layout */
.container {
  display: grid;
  width: 100vw;
  height: auto;
  grid-template-columns: 19% 62% 19%;
  grid-template-rows: auto 1fr auto;
    ". header ."
    ". main ."
    ". footer .";
  justify-content: center;
  align-items: center;
main#main {
  grid-area: main;
header#header {
  grid-area: header;
footer#footer {
  grid-area: footer;

/* styles */
article.attribute {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
#img-div {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  > #image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;

.container.theme1 {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.618em;
  color: hsl(90, 15%, 15%);
  background: linear-gradient(45deg, hsl(135, 62%, 90%), hsl(90, 62%, 90%));

.w-tribute a {
  color: hsl(180, 100%, 30%);
  font-weight: 800;
  border-bottom: 2px solid hsl(180, 100%, 30%);
  &:hover {
    text-decoration: none;
    color: hsl(180, 30%, 30%);
    border-bottom: 2px solid hsl(180, 30%, 30%);
    background: hsl(135, 80%, 95%);  

section {
  margin: 2em 0 2em 0;

.section {
  text-align: center; 
  margin: 3em 0;