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.

            
              <!-- Style Guide for http://wwww.kristinafriedgen.com -->

<div class="style-tile">    
    
    <p class="description">logo + branding</p>
    <div class="logo">
        <img src="http://kristinafriedgen.com/wp-content/uploads/2016/01/kristina_friedgen_logo.png" alt="Kristina Friedgen's Logo"/>
    </div>
    
    <p class="description">colors</p>
    <div class="colors">
        <ul>
            <li class="color-1">
                <span>#1F1B1A</span>
            </li>
            <li class="color-2">
                <span>#860A11</span>
            </li>
            <li class="color-3">
                <span>#998262</span>
            </li>
            <li class="color-4">
                <span>#DBD5C9</span>
            </li>
            <li class="color-5">
                <span>#EAE9E8</span>
            </li>
            <li class="color-6">
                <span>#576155</span>
            </li>
            <li class="color-7">
                <span>#485168</span>
            </li>
            <li class="color-8">
                <span>#AAB7D6</span>
            </li>
            <li class="color-9">
                <span>#2C3342</span>
            </li>
        </ul>
    </div>
    
    <p class="description">typography</p>
    <div class="typography">
        
        <h1>This is an example of a header 1</h1>
        <h2>This is an example of a header 2</h2>
        <h3>This is an example of a header 3</h3>
        <h4>This is an example of a header 4</h4>
    </div>
    
    <p class="description">body copy</p>
    <div class="copy">
        
        <p>Whether you’re preparing for your college audition or just looking to improve your acting skills, I believe in teaching you the tools and skills you will need to not only meet your short term goal, but your long term aspirations.  I provide personalized, one-on-one coaching designed to specifically meet your immediate needs, while continually advising you on the path to your future success.  </p>

        <p>Locavore Tumblr ethical four loko readymade, hoodie Neutra deep v twee. Godard post-ironic brunch four dollar toast hoodie Etsy, cliche Kickstarter Shoreditch tote bag Tumblr meggings. Photo booth slow-carb umami Bushwick locavore migas. Food truck gastropub whatever, XOXO freegan Portland chambray Brooklyn Echo Park. Next level freegan XOXO, cronut forage four dollar toast before they sold out retro chambray gentrify tofu Schlitz narwhal. Marfa wolf Intelligentsia pug whatever. 90's banjo keytar jean shorts, shabby chic mixtape Austin next level banh mi kale chips small batch flannel post-ironic.</p>
    </div>
    
    <p class="description">blockquote</p>
    <div class="blockquote">
        
        <!-- Quote from Rebecca by Daphne du Maurier -->
        <blockquote>If only there could be an invention that bottled up a memory, like scent. And it never faded, and it never got stale. And then, when one wanted it, the bottle could be uncorked, and it would be like living the moment all over again . . . We can never go back again, that much is certain. The past is still close to us. The things we have tried to forget and put behind us would stir again, and that sense of fear, of furtive unrest, struggling at length to blind unreasoning panic - now mercifully stilled, thank God - might in some manner unforeseen become a living companion as it had before.</blockquote>

    </div>
    
    <p class="description">meta data</p>
    <div class="metadata">
        
        <p>By <a href="#">Kristina Friedgen</a> on March 19, 2016 | Category: <a class="category" href="#">Directing</a></p>

    </div>
    
    <p class="description">form style</p>
    <div class="form-style">
        <form action="#">
            <input type="text" name="firstname" placeholder="Sign up for the newsletter">
            <input type="submit" value="Submit">
        </form>

    </div>
    
    <p class="description">link styles</p>
    <div class="links">
        
        <p>Here is an example of a sentence with <a href="#">a link section</a> in the middle.</p>
        
        <p>Here is a single <a href="#">word</a> link in a sentence.</p>
        
        <a href="#">Here is an example of a link not wrapped in a paragraph</a>

    </div>
    
     <p class="description">button styles</p>
    <div class="buttonstyle">
        <br />
        <a href="#" class="learn-more">learn more</a>
        <br />
        <a href="#" class="ticket-button">Buy Tickets Online</a>
        <br />
        <input type="submit" value="submit" class="coaching">
    </div>
    
    <p class="description">number styles</p>
    <div class="number-style">
        <p>1</p>
    </div>
    <br />
    <div class="number-style">
        <p>2</p>
    </div>
    
    <p class="description">text layout styles</p>
    <div class="main-text-layout">
        <div class="number-style">
            <p>4</p>
        </div>
        <h4>some text</h4>
        <h2>THEN MORE</h2>
        <h3>for example</h3>
    
    </div>
</div>
            
          
!
            
              .style-tile {
    display: block;
    max-width: 1010px;
    margin: auto;
    padding-bottom: 4em;
    border: 0.4em solid #F4F4F8;
}

body {
    font-family: 'Noto Serif';
}

.description {
    width: 320px;
    padding-left: 10px;
    color: #999;
    font-family: 'Times New Roman', Times, serif;
    font-size: 0.8em;
    font-style: italic;
    text-align: left;
    line-height: 2em;
    border-bottom: 0.2em solid #F4F4F8;
}

.logo {
    text-align: center;
}

.logo img{
    max-width: 400px;
    width: 100%;
}

.colors ul {
    text-align: center;
    list-style: none;
}

.colors ul li {
    display: inline-block;
    width: 80px;
    height: 80px;
    margin: 10px;
    border-radius: 100px;
}

.colors span {
    position: relative;
    top: 25px;
    color: #FFFFFF;
    font-size: 10px;
    font-family: Arial, sans-serif;
    opacity: 0;
}



.color-1 {
    background: #1F1B1A;
}

.color-2 {
    background: #860A11;
}

.color-3 {
    background: #998262;
}

.color-4 {
    background: #DBD5C9;
}

.color-5 {
    background: #EAE9E8;
}

.color-6 {
    background: #576155;
}

.color-7 {
    background: #485168;
}

.color-8 {
    background: #AAB7D6;
}

.color-9 {
    background: #2C3342;
}


.typography {
    margin: 10px;
}

h1 {
    margin: 30px auto;
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-weight: 700;
    color: #1F1B1A;
    font-size: 40px;
    line-height: 56px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

h2 {
    margin: 30px auto;
    font-family: 'Source Sans Pro', Arial, sans-serif;
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 200;
    line-height: 46px;
    letter-spacing: 1px;
}

h3 {
    margin: 30px auto;
    font-family: 'Source Sans Pro', Arial, sans-serif;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 0.8px;
    font-weight: 600;
    line-height: 22px;
}

h4 {
    margin: 30px auto;
    font-family: 'Noto Serif', Georgia, serif;
    font-size: 14px;
    letter-spacing: 0.8px;
    font-weight: 400;
    font-style: italic;
    text-transform: lowercase;
    line-height: 22px;
}

.copy {
    padding: 50px;
}

p {
    color: #1F1B1A;
    font-family: 'Noto Serif', Georgia, serif;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0.05px;
}

a {
    color: #998262;   
    text-decoration: underline;
}

a:hover {
    color: #AAB7D6;
}

::selection {
  background: #DBD5C9; /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: #DBD5C9; /* Gecko Browsers */
}

.blockquote {
    padding: 0 50px;
}

blockquote {
    margin-left: 50px;
    padding: 1.5em;
    font-family: 'Noto Serif', Georgia, serif;
    font-size: 16px;
    line-height: 26px;
    color: #333333;
    font-weight: 100;
    border-right: 10px double #EAE9E8;
    border-left: 10px double #EAE9E8;
}


.metadata p {
    font-size: 12px;
    text-decoration: none;
}

.category {
    color: #860A11;   
}

.handwriting, .metadata, .fineprint, .links, .buttonstyle {
    margin-left: 50px;
}

form {
    margin: auto;
    width: 100%;
    max-width: 550px;
}
input[type="text"],
input[type="submit"]
{
    font-family: 'Source Sans Pro', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 14px;
    font-weight: 700;    
    text-align: center;
}

input[type="text"] {
    border: none;
    background: #EAE9E8;
    padding: 20px;
    max-width: 350px;
    width: 80%;
}

input[type="submit"] {
    border: none;
    background: #998262;
    padding: 20px;
    max-width: 200px;
    width: 20%;
    color: white;
}

input[type="submit"]:hover {
    cursor: pointer;
    background: #1F1B1A;
}

::-webkit-input-placeholder {
    color: #808080;
}

:-moz-placeholder { /* Firefox 18- */
   color: #808080;  
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #808080;  
}

:-ms-input-placeholder {  
   color: #808080;  
}

input:focus::-webkit-input-placeholder { color:transparent; }
input:focus:-moz-placeholder { color:transparent;} /* FF 4-18 */
input:focus::-moz-placeholder { color:transparent;} /* FF 19+ */
input:focus:-ms-input-placeholder { color:transparent;} /* IE 10+ */

input:focus {
    outline: 0;
    background: 
}

.learn-more {
    display: block;
    width: 100px;
    padding: 10px 15px;
    color: #1F1B1A;
    text-align: center;
    font-style: italic;
    text-decoration: none;
    letter-spacing: 1px;
    background: #EAE9E8;
}

.learn-more:hover {
    color: #EAE9E8;
    background: #1F1B1A;
}

.ticket-button,
input[type="submit"].coaching {
    display: block;
    max-width: 300px;
    width: 100%;
    padding: 15px 15px;
    color: #FFFFFF;
    text-align: center;
    text-decoration: none;
    font-family: 'Source Sans Pro', Arial, sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    background: #576155;
}

.ticket-button:hover {
    color: #FFFFFF;
    background: #998262;
}

input[type="submit"].coaching {
    font-size: 16px;
    background: #860A11;
}


input[type="submit"].coaching:hover {
    background: #1F1B1A;
}

.number-style {
    width: 24px;
    height: 24px;
    border: 2px solid #1F1B1A;
    border-radius: 100px;
    margin: auto;
}

.number-style p {
    position: relative;
    top: -17px;
    text-align: center;
}

.main-text-layout {
    margin: auto;
    width: 162px;
}

.main-text-layout h4 {
    margin-top: 5px;
    margin-bottom: 22px;
}

.main-text-layout h2 {
    margin-top: -30px;
}

.main-text-layout h3 {
    margin-top: -35px;
    text-align: right;
}
            
          
!
            
              $(document).ready(function(){
     $(".colors ul li").hover(function(){
         $("span").css("opacity", "1");
     }, function(){
        $("span").css("opacity", "0");
     });
});
            
          
!
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