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

              
                <main id="main">
<link href="https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@700&display=swap" rel="stylesheet">
<div class="container" id="bts-wsj">
        <img id="img-div" src="https://i.imgur.com/Th9Y0WO.jpg" alt="BTS-WSJ" style="width: 100%;">
        <h1 id="title">BTS</h1>
    </div>
  <div class="container" id="about">
  <h1 id="bts-quote">"quote from btssd fsdf sdfjksdf skf"</h1>
  <p id="tribute-info" class="centered">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
  <h1 id="fan-quote">"quote from fans sdfsdj sdfkjsldf jskdfksdf </h1>
  </div>
<div class="container" id="members">
        <a href="#">
            <img class="smaller-image border" src="https://i.imgur.com/HuZWnjV.jpg" alt="jimin">
            <p>Jimin</p>
        </a>
        <a href="#">
            <img class="smaller-image border" src="https://i.imgur.com/yk5C7kz.jpg" alt="jungkook">
            <p>Jungkook</p>
        </a>
        <a href="#">
            <img class="smaller-image border" src="https://i.imgur.com/JBEGNJw.jpg" alt="jin">
            <p>Jin</p>
        </a>
        <a href="#">
            <img class="smaller-image border" src="https://i.imgur.com/7SJwU5t.jpg" alt="rm">
            <p>RM</p>
        </a>
    </div>
    <div class="container" id="members2">
        <a href="#">
            <img class="smaller-image border" src="https://i.imgur.com/pOFFDdi.jpg" alt="j-hope" id="hobi">
            <p>J-Hope</p>
        </a>
        <a href="#">
            <img class="smaller-image border" src="https://i.imgur.com/tjMeZ9d.jpg" alt="v" id="v">
            <p>V</p>
        </a>
        <a href="#">
            <img class="smaller-image border" src="https://i.imgur.com/MNB1YBS.jpg" alt="suga" id="suga">
            <p>Suga</p>
        </a>
    </div>
                  
              


              
            
!

CSS

              
                * {
  border: solid 1px red; 
}
#img-div {
        position: relative;
        max-width: 100%;
        height: auto;
    }

    #bts-wsj {
        position: relative;
    }

    #title {
        position: absolute;
        width: 100%;
        top: 30%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        font-family: "Bodoni Moda", serif;
        font-size: 200px;
        text-align: center;
    }

#bts-quote {
  padding: 50px 50px 50px 50px;
  background: #F0C4FF;
}
#tribute-info {
  padding: 60px 80px 50px 80px;
  background: beige;
}
#fan-quote { 
  padding: 50px 50px 50px 50px;
  background: black;
  color: white;
}
#about {
  margin-top: -58px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  width: 100%;
  height: 600px;
  text-align: center;
}
#members,
    #members2 {
        width: 100%;
        background: white;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    #members a,
    #members2 a {
        padding: 20px;
    }

    .smaller-image {
        width: 200px;
    }

    .border {
        border-width: 0px;
        border-radius: 50%;
    }

    @media only screen and (max-width: 1024px) {
        #title {
            font-size: 150px;
        }
    }


    @media only screen and (max-width: 768px) {
        #title {
            font-size: 100px;
        }
    }

    @media only screen and (max-width: 480px) {
        #title {
            font-size: 50px;
        }
    }

              
            
!

JS

              
                

              
            
!
999px

Console