css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              
<div class="container-fluid">
  <!–– my navigation bar ––>
  <nav>
    <ul>
      <li ><a href="#header-text">Home</a></li>
      <li ><a href="#about">About</a></li>
      <li ><a href="#music">Music</a></li>
      <li ><a href="#contact">Contact</a></li>
    </ul>
  </nav>
  
  <!––my header ––>
  <header class="blue-gradient-down">
    <h2 id="header-text" class="text-center h2-margin ">
      Barron, V, Brock
    </h2>
    <p class="text-center reg-p-class">
      I have worked in html, css, JavaScript, gml, and java.
    </p> 
  </header>
  
  <main>
    <h3 class="text-center projects-h3">
      These are some of the projects I have done.
    </h3> 

    <!–– some of my projects and pictures––>

    <div class="pic">
        <a href="https://github.com/bmansk8/java-game" target="_blank">
          <img class="project-pictures" src="https://us.123rf.com/450wm/iunewind/iunewind1504/iunewind150400075/39500459-program-basic-code-.jpg?ver=6" alt="java work"> 
          <p class="text-center pic-text">my java game repo</p>
        </a>
     </div>

     <div class="pic"> 
        <a href="https://github.com/bmansk8/pragmatic" target="_blank">
          <img class="project-pictures" src="https://thumb7.shutterstock.com/display_pic_with_logo/253597/230705539/stock-photo-programming-code-abstract-screen-of-software-developer-computer-script-more-similar-in-my-230705539.jpg" alt="ruby project">
          <p class="text-center pic-text">my ruby game repo</p>
        </a>
     </div>

     <div class="pic">  
        <a href="https://codepen.io/bmansk14/pen/MVowzL" target="_blank">
          <img class="project-pictures" src="https://www.billboard.com/files/media/john-mayer-aug-2017-billboard-1548.jpg" alt="picture of john mayer">
          <p class="text-center pic-text">my tribute page</p>
        </a>
     </div>

     <div class="pic">
       <a href="https://codepen.io/bmansk14/pen/KRmpPO" target="_blank">
         <img class="project-pictures"
          src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/1845118/depositphotos_5573951-stock-photo-html-css-tags.jpg" alt="A free code camp project">
         <p class="text-center pic-text">my first free code camp project</p>
       </a>
     </div>  
      
    
  <p class="width">sample text and stuff
    i once had a cat
     meow meow 
     i love memes rarw xd</p> 
    
  </main>
  
  <footer>
    <div class="silver-background">
        <p class="h3-sep text-center">Made by Barron V Brock</p>
    </div>
  </footer>
</div>

            
          
!
            
              body{
  background-color: #D3D3D3;
}

.width{
  width:10px;
}

.project-pictures{
    border-color: gray;
    border-width: 2.5px;
    border-style: solid;
    border-radius: 25%;
    width: 400px;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

.pic{
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

.pic:hover{
  transform: scale(1.1);
}

.pic-text{
  color:black;
}

.grey-circle-border{
   border: 3px solid gray;
   padding: 25px;
   border-radius: 50%;
}

.blue-gradient-down{
  background: linear-gradient(180deg,#D3D3D3,#00FFFF,#D3D3D3);
}

/*negitive padding is not a thing but margin is, Also
this allows the nav bar to jump just above the object but
there is some styiling things I need to sort out first*/
.nav-bar-bump{
  padding:80px;
  margin-top:-80px;
  margin-bottom:-80px;
}

/* nav is a new thing in html5 for help with nav bars and lets me style only 
this ul/li elemeant */

nav ul{
    list-style-type: none;
    /*list style type dumps the dots */ 
    margin: 0;
    padding: 0;
    /*The overflow property specifies what should happen if content overflows an element's box. */
    overflow: hidden;
    background-color: #C0C0C0;
    position: fixed;
    /*position fixed makes it stay at the spot
      on the screen even if you scroll down 
    */
    top: 0;
    width: 100%;
  
    border: 2px solid #000;
}

nav li{
    border-right: 2px solid #000000;
    float: left;
}

nav li a {
    display: block;
    color: black;
    text-align: center;
    /*The CSS padding property is used to generate space around an element's content, inside of any defined borders. */
    padding: 14px 16px;
    text-decoration: none;
}

nav li a:hover {
    background-color: #A9A9A9;
    color: white;
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console