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

              
                <html>
  <head>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  </head>
  
<style>
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;400;500;600;800&display=swap');
</style>
  
<link
  rel="stylesheet"
  href="https://use.fontawesome.com/releases/v5.8.2/css/all.css"
  integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay"
  crossorigin="anonymous"
/>
         <div class="circle1"></div>
      <div class="circle2"></div>
       <div class="circle3"></div>
      <div class="circle4"></div>
      <div class="circle5"></div>
   <div class="circle6"></div>
  
<body>
<nav id="navbar" class="nav">
  <ul class="nav-list">
    <li>
      <a href="#welcome-section">About</a>
    </li>
    <li>
      <a href="#projects">Work</a>
    </li>
    <li>
      <a href="#contact">Contact</a>
    </li>
  </ul>
</nav>

<!---welcome section--->
<div id="welcome-section">
<div class="wrapper">
    <div class="typing-demo">
      <h1>
      Hi! I am Ragini
        <h1>
    </div>
        

        
</div> 
      
  </div>
 
  <!--end welcome section-->
  
  
 <!--project section-->
  <div class="circle7"></div>
  <section id="projects" class="projects-section">
  <h2 class="projects-section-header">PROJECTS</h2>

  <div class="projects-grid">
    <a
      href="https://codepen.io/ragininarang/pen/YzxKayw"
      target="_blank"
      class="project project-tile"
    >
      <img
        class="project-image"
        src="https://codepen.io/ragininarang/pen/YzxKayw/image/large"
        alt="project"
      />
      <p class="project-title">
        <span class="code">&lt;</span>
        Tribute Page
        <span class="code">&#47;&gt;</span>
      </p>
    </a>
    
    <a
      href="https://codepen.io/ragininarang/pen/GRvRpYE"
      target="_blank"
      class="project project-tile"
    >
      <img
        class="project-image"
        src="https://codepen.io/ragininarang/pen/GRvRpYE/image/large"
        alt="project"
      />
      <p class="project-title">
        <span class="code">&lt;</span>
        Survey Form
        <span class="code">&#47;&gt;</span>
      </p>
    </a>
    <a
      href="https://codepen.io/ragininarang/pen/zYddoyB?editors=1100"
      target="_blank"
      class="project project-tile"
    >
      <img
        class="project-image"
        src="https://codepen.io/ragininarang/pen/zYddoyB/image/large"
        alt="project"
      />
      <p class="project-title">
        <span class="code">&lt;</span>
        Product Landing Page
        <span class="code">&#47;&gt;</span>
      </p>
    </a>
    <a
      href="https://codepen.io/ragininarang/pen/mdMqQLL"
      target="_blank"
      class="project project-tile"
    >
      <img
        class="project-image"
        src="https://codepen.io/ragininarang/pen/mdMqQLL/image/large"
        alt="project"
      />
      <p class="project-title">
        <span class="code">&lt;</span>
        Technical Documentation Page
        <span class="code">&#47;&gt;</span>
      </p>
    </a>
    <a
      href="https://codepen.io/ragininarang/pen/bGrvamy"
      target="_blank"
      class="project project-tile"
    >
      <img
        class="project-image"
        src="https://codepen.io/ragininarang/pen/bGrvamy/image/large"
        alt="project"
      />
      <p class="project-title">
        <span class="code">&lt;</span>
        Personal Portfolio
        <span class="code">&#47;&gt;</span>
      </p>
    </a>
  
  </div>

  <a
    href="https://codepen.io/ragininarang"
    class="btn btn-show-all"
    target="_blank"
    >Show All<i class="fas fa-chevron-right"></i
  ></a>
</section>
  </body>
  
  <!--footer-->
  <section id="contact" class="contact-section">
  <div class="contact-section-header">
    <h2 class="footer-header">CONTACT</h2>
  </div>
    
    <center>
  <div class="contact-links">
    <a
      href="www.linkedin.com/in/ragininarang"
      target="_blank"
      class="btn contact-details">LinkedIn</a
    >
    <a
      id="profile-link"
      href="https://codepen.io/ragininarang"
      target="_blank"
      class="btn contact-details"
      >Codepen</a
    >

    <a href="" class="btn contact-details"
      >Email</a
    >
    </center>
  </div>
</section>
  <!--footer end-->
  
  
  </html> 
              
            
!

CSS

              
                html {
background-color: #000000;
background-image: linear-gradient(180deg, #000000 0%, #0b0b0b 55%);
scroll-behavior: smooth;
}

body {
  top:0;
  margin:0;
  padding: 0;
}

.nav{
display: flex;
  justify-content: flex-end;
  position: fixed;
  background-color: black;
  top: 0vh;
  left: 0;
  width: 100%;
  font-family: Montserrat;
  font-size: 15px;
  padding:0;
}

.nav-list {
  display: flex;
  justify-content: center;  
}

ul { 
  margin: 20px auto 10; 
  padding: 0; 
  list-style: none; 
  display: table;
  width: 100%;
  text-align: center;
}
li { 
  display: flex; 
  position: relative; 
}
a {
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.15em;
  
  display: inline-block;
  padding: 15px 50px;
  position: center;
}
a:after {    
  background: none repeat scroll 0 0 transparent;
  bottom: 0;
  content: "";
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  background: #fff;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}
a:hover:after { 
  width: 100%; 
  left: 0; 
}

/*-welcome section*/
#welcome-section {
 display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  top: 0vh;
  margin: 0;
  padding: 0;
  border:0;
}

h1{
  font-size: 40px;
  color: white;
}
.wrapper {
  height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -560px;
}

/* circles*/

.circle1{
  position: absolute;
width: 120px;
height: 120px;
left: -80px;
top: 150px;
border-radius: 400px;
background: radial-gradient(50% 50% at 50% 50%, #2D4CED 0%, rgba(32, 2, 115, 0.86) 100%);
opacity: 0.2;
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  z-index: -1;
}

.circle2{
  position: absolute;
width: 440px;
height: 440px;
left: -200px;
top: -200px;
border-radius: 400px;
background: radial-gradient(50% 50% at 50% 50%, #2D4CED 0%, rgba(32, 2, 115, 0.86) 100%);
opacity: 0.4;
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  z-index: -1;
}

.circle3{
  position: absolute;
width: 272px;
height: 272px;
left: -50px;
top: 110vh;
  z-index:-1;
  opacity: 0.7;
border-radius: 400px;
background: radial-gradient(50% 50% at 50% 50%, rgba(19, 40, 148, 0.6) 0%, rgba(14, 0, 54, 0.516) 100%);
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.circle4 {
position: absolute;
width: 120px;
height: 120px;
right: 4vh;
top: 350px;
border-radius: 400px;
  opacity: 0.6;
background: radial-gradient(50% 50% at 50% 50%, rgba(19, 40, 148, 0.6) 0%, rgba(14, 0, 54, 0.516) 100%);
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  flex-direction: row;
}

.circle5{
  position: absolute;
width: 200px;
height: 200px;
right: 1vh;
top: 170vh;
  background: radial-gradient(50% 50% at 50% 50%, rgba(19, 40, 148, 0.6) 0%, rgba(14, 0, 54, 0.516) 100%);
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  z-index: -1;
  border-radius: 500px;
  opacity: 0.7;
}

.circle6{
  position: absolute;
width: 250px;
height: 400px;
right: 0vh;
top: 400px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(19, 40, 148, 0.6) 0%, rgba(14, 0, 54, 0.516) 100%);
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  z-index: -1;
  border-radius: 500px 0 0 500px;
   
}

.circle7{
 position: absolute;
width: 300px;
height: 300px;
left: 1vh;
top: 200vh;
  background: radial-gradient(50% 50% at 50% 50%, rgba(19, 40, 148, 0.6) 0%, rgba(14, 0, 54, 0.516) 100%);
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  z-index: -1;
  border-radius: 500px;
  opacity: 0.9;
}

/*end circles*/


.typing-demo {
  width: 24ch;
  animation: typing 2s steps(20), blink .5s step-end infinite alternate;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid white;
  font-family: monospace;
  font-size: 2em;
  margin-top: 100vh;
}

@keyframes typing {
  from {
    width: 0
  }
}
    
@keyframes blink {
  50% {
    border-color: transparent
  }
}



/*project-section*/

.projects-section {
  text-align: center;
  padding: 0rem 2rem;
}

.projects-section-header {
  max-width: 640px;
  margin: 0 auto 6rem auto;

}

@media (max-width: 28.75em) {
  .projects-section-header {
    font-size: 4rem;
  }
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 4rem;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  margin-bottom: 6rem;
}

@media (max-width: 30.625em) {
  .projects-section {
    padding: 0rem 1rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project {
  background:#101111;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  border-radius: 30px;
}

.code {
  color: blue;
  transition: color 0.3s ease-out;
}

.project:hover .code {
  color: #ff7f50;
}

.project-image {
  height: calc(100% - 6.8rem);
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
  margin-top: 10px;
}

.project-title {
  font-size: 20px;
  padding: 10px ;
  text-transform: capitalize;
  font-family: Montserrat;
  letter-spacing: 1px;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
}

.btn-show-all {
  font-size: 15px;
  background: black;
  transition: background 0.3s ease-out;
  Font-family: Montserrat;
}

.btn-show-all:hover {
  background: #2D4CED;
}

.btn-show-all:hover > i {
  transform: translateX(2px);
}

.btn-show-all > i {
  margin-left: 10px;
  transform: translateX(0);
  transition: transform 0.3s ease-out;
}

h2{
  color: white;
  font-size: 30px;
  letter-spacing: 5px;
  font-family: Montserrat;
}


/* footer */

.contact-section {
   background-color: #000720;  
  font-family: Montserrat;
  bottom: 0vh;
}

footer {
  display: flex;
  justify-content: centre;
}

.footer-header {
  font-size: 20px;
  text-align: center;
  padding: 20px;
}

footer > p {
  margin: 2rem;
}

footer > i {
  vertical-align: center;
  font-size: 15px;
  padding: 15px;
}

.contact-links {
  justify-content: space-evenly;
}


@media (max-width: 28.75em) {
  footer {
    flex-direction: column;
    text-align: center;
  }
}
              
            
!

JS

              
                // !! IMPORTANT README:

// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place. 

/***********
INSTRUCTIONS:
  - Select the project you would 
    like to complete from the dropdown 
    menu.
  - Click the "RUN TESTS" button to
    run the tests against the blank 
    pen.
  - Click the "TESTS" button to see 
    the individual test cases. 
    (should all be failing at first)
  - Start coding! As you fulfill each
    test case, you will see them go   
    from red to green.
  - As you start to build out your 
    project, when tests are failing, 
    you should get helpful errors 
    along the way!
    ************/

// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example!

// Once you have read the above messages, you can delete all comments. 

              
            
!
999px

Console