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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

              
                </head>
<body>
<main id="main">
  
  <h1 id="title">Derek Walcott</h1> 
 
  <figure id="img-div">
  <img id="image" src="http://media-2.web.britannica.com/eb-media/21/20921-004-43A4CC43.jpg" alt="a photo of Derek walcott"/>
    <figcaption id="img-caption"> Nobel prize winner for st.lucia </figcaption>
    </figure>
  <h1 class="center"id="important"><strong>His early life</strong></h1>
  <p class="center" id=tribute-info>
    He was born on the 23rd of january 1930.He was born in castries, St.lucia in the westindies. His father was Warwick Walcott and his mother was Alix Maarlin. He also has a twin brother, Roderick Walcott who is a playwright. His family is of english, dutch and african descent. When he was only 14 years of age walcott published his first poem, a Miltonic, religious poem.
    When he was 19 he published two collections with the help of his mother. 
  </p>
    <h1 class="center" id="important">Career<h1>
    <p class="center" id="tribute-info">
    In 1953 walcott moved to trinidad, after graduating. he became a critic, teacher and journalist. He also founded the trinidad theatre workshop in 1959. He explored the carribean, espacial it's colonialist and post-colonailist past, present and future. His collection, In a Green Night attracted international attention. His play Dream on Monkey Mountain(1970) was produced on NBC-TV in the united states the year it was published. A Negro Ensemble Company produced this play in 1971 off-broadway in New York City. This play won a Obie. He was hired by boston university in the united states. Their he founded the boston playwrights' theatre in 1981. He received a MacArther Foundation Fellowship that same year. He will teach litreature and wrighting at this university for the next several years of his life publishing new material at a good pace. He retired in 2007. He won his nobel prize in 1992. He  died in 2017.
 </p>
      <a class="center" id="important" href="https://en.wikipedia.org/wiki/Derek_Walcott#Early_life_and_childhood">Source: Derek walcott</a>
  </main>
    </body>
              
            
!

CSS

              
                <style>
#main {
  margin: 30px 8px;
  padding: 15px;
  border-radius: 5px;
}
body {
  background-image:url(https://tse1.mm.bing.net/th?id=OIP.wvnSWjIQ3a5yCg6gRfgWywHaDa&pid=Api&P=0&w=333&h=154);
background-size:100% 100%;
}


#title {
  text-align: center;
    text-shadow: 0 0 10px hsl(50, 100%, 50%);
  color: yellow;
  text-decoration: underline;
}
#image {
 display: block;
  
  margin-left: auto;
  margin-right: auto;
  border-width: 5px;
  border-style: solid;
  border-radius: 50%;
  border-color: hsl(25, 100%, 50%);
  box-shadow: 0 0 20px hsl(50, 100%, 50%);
    
}
#img-caption {
    text-align: center;
    text-shadow: 0 0 10px hsl(50, 100%, 50%);
  text-decoration: underline;
  color: yellow;
  margin: 20px 0px 0px 0px;
font-size: 20px;
}
  #important {
    color: yellow;
  margin: 20px 0px 0px 0px;
 text-shadow: 0 0 10px hsl(50, 100%, 50%);
  text-decoration: underline;
   
}
p {
  font-size: 30px;
  color: yellow;
  font-style: italic;
}
.center {
  text-align: center;
  padding: 0px 30px 0px 30px;
}
#tribute-info {
  font-family: Cinzel, arial;
  font-size: 2rem;
  color: #514d3f;

  padding: 0 .5rem;
  text-align: justify;
  text-justify: inter-word;
}

  #image {
/*   max-width: 70%; */
  width: 90%;
  max-width: 1024px;
  display: block;
  height: auto;
  margin: auto;
  border-color: #514d3f;
  border-width: 3px;
  border-style: solid;
  padding: 2px;
  box-shadow: 0 10px 20px;
}






</style>
              
            
!

JS

              
                
              
            
!
999px

Console