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 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

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/css2?family=Open+Sans+Condensed:wght@300&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Comfortaa:wght@300&family=News+Cycle&family=Oswald&display=swap" rel="stylesheet">
<main id="main">
  <div id="img-div">
    <h1 class="tribute-title-light" id="title">William Tanuwijaya, Indonesian Jack Ma</h1>
    <h2 class="tribute-subtitle-light">A random boy from a remote city who found the Tokopedia Company, an online e-commerce platform in Indonesia that helps millions of Indonesian merchants to sells their items online.</h2>
  </div>
  <div id="company-mascot" class="round-cream">
    <img src="https://ecs7.tokopedia.net/microsite-production/brand-asset/assets/img-tokopedia-icon.png" id="toped-mascot">
  </div>			
  <div id="tribute-background">
    <div id="tribute-info">
      <h3 class="tribute-content">Here's his life:</h3>
      <p>Tanuwijaya was born in Pematang Siantar, North Sumatra. He graduated from high school there, His family was middle income who supported his education. William went to college at Universitas Bina Nusantara (Binus) Jakarta. William married Felicia H.W. on November 28, 2015.</p>
      <p>To pay for college William worked part time. He worked in an internet cafe twelve hours a day until he graduated in 2003. He then worked as a software developer in companies including TelkomSigma and Sqiva Sistem. He later worked as a game developer at Bolehnet. In 2006 Tanuwijaya worked as IT and Business Development Manager at Indocom Mediatama.</p>
      <p>In 2007 William started to build Tokopedia, He asked his friend Leontinus Alpha Edison to join him as co-founder, an e-commerce startup that connects Indonesian buyers and sellers for free. At the same time his father was diagnosed with cancer. William has supported his family since that time.</p>
      <p>William is one of the founders of Indonesia eCommerce Association (IdEA) and serves as a member of its supervisory board.</p>
      <aside>
        "The past is something that we cannot change, but the future is still in our own hands"
        <div>
          - William Tanuwijaya - 
        </div>
      </aside>
      <p>Read more about this <em>awesome</em> figure <a id="tribute-link" href="http://www.yourtechstory.com/2019/02/02/william-tanuwijaya-founder-first-indonesian-unicorn-startup-tokopedia/" target="_blank">here</a>.</p>
    </div>
  </div>
</main>
<footer>
  <p>&copy;2020 tribute to William Tanuwijaya by Muhammad Saleh</p>
</footer>
              
            
!

CSS

              
                /*--------------main&body--------------------*/
body {
	margin: 0;
	margin-top: -100px;
	min-width: 500px;
	background-image: url("https://qubiz.net/wp-content/uploads/2018/10/William-Tanuwijaya-660x400@2x.jpg");
	background-size: cover;
	background-position: fixed;	 background-attachment: fixed;
	background-repeat: no-epeat;

}
main {
	  margin-top: 0;
	  height: auto;
	  color: ;

}
/*-------------title case--------------------*/
#img-div {
	position: relative;
	top: 200px;
	left: 50px;
	background-color: transparent; rgba(50, 50, 50, 0.4);
	font-family: 'Comfortaa', cursive;
	
	width: 600px;

}
body main div.big-size {
	
}
.tribute-content {
	margin-left: 50px;
}

/*-------------------title&sub-------------------------*/
body main div h1.tribute-title-green {
	color: hsl(120,69%, 50%);
	font-size: 3em;
}
body main div h2.tribute-subtitle-black{
	margin: 0 auto auto 30px;
}
body main div h1.tribute-title-light {
	color: hsl(120,69%, 50%);
	font-size: 3em;
	background-color: rgba( 242, 235, 225, 0.5);
}
body main div h2.tribute-subtitle-light {
	color: black;
	font-size: 1.2em;
	font-family: 'Open Sans Condensed', sans-serif;
	height: 70px;
}
/*-------------------mascot---------------------------*/
#company-mascot {
	height: 200px;
	width: 200px;
	border: 1px solid green;
	border-radius: 50%;
	background-color: hsl( 59, 20%, 97%);
	
	position: absolute;
	top: 370px;
	right: 80px;
}
#toped-mascot {
	margin-left: 10%;
	margin-right: 10%;
	margin-top:;
	margin-bottom:;
	width: 80%;
	
}
/*---------------------image----------------------------*/
#image {
	position:
}
/*---------------------content--------------------------*/
h3	{
	font-size: 2em;
}
#tribute-background {
	background-color: hsl(62,12%,90%);
	
	margin-top: 602px;
	margin-left: 0;
	margin-right: 0;
	border: ;
	padding-bottom: 20px;
	padding-top: 20px;
}

#tribute-info {
	/*position: relative;
	top: 600px;*/
	margin: 0 auto;
	background-color: hsl(64, 26%, 94%); rgba(235,239,177,);
	
	font-family: 'News Cycle', sans-serif;
	
	width: 900px;
	min-height: 700px; 
	height: auto;
	text-align: justify;
	padding: 15px;
	
	line-height: 2em;
	
	font-size: 1.2em;
}
/*-----------------footer--------------------*/
footer{
	/*position: relative;
	top: 950px;
	bottom: 0;*/
	
	height: 80px;
	margin: 0 auto;
	margin-bottom: 0;
	padding-top: 50px;
	
	background-color: hsl(64, 26%, 80%);
}
footer > p {
	margin: auto;
	text-align: center;
}
/*------------------pullquote-----------------------*/
aside {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	color: #a5a4a4;
	font-style: italic;
	margin: 30px 0 30px 15px;
	padding-left: 15px;	
	width: 600px;
}
aside > div	{
	font-size: 0.9em;
	margin-left: 15px;
}
              
            
!

JS

              
                
              
            
!
999px

Console