Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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

              
                <h1>
  <span>K-pop fandom dictionary</span>
</h1>

<dl class="dictionary">
  <div class="term">
    <dt>
      <span>All-kill</span>
    </dt>
    <dd>
      A song receives an “all-kill” distinction when it simultaneously reaches the #1 spot on all Korean music charts
      
      <table>
        <thead>
          <tr>
            <th>#1 spot</th>
            <th class="center">RAK</th>
            <th class="center">CAK</th>
            <th class="center">PAK</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td>all realtime charts</td>
            <td class="center">&#10005;</td>
            <td class="center">&#10005;</td>
            <td class="center">&#10005;</td>
          </tr>
          <tr>
            <td>all daily charts</td>
            <td></td>
            <td class="center">&#10005;</td>
            <td class="center">&#10005;</td>
          </tr>
          <tr>
            <td>Instiz Weekly Chart</td>
            <td></td>
            <td></td>
            <td class="center">&#10005;</td>
          </tr>
        </tbody>
      </table>
    </dd>
  </div>
  
  <div class="term">
    <dt>
      <span>Akgae</span> 악개 ahk·geh
    </dt>
    <dd>
      A fan who only stans one member of a group and actively dislikes other members. Shortened form of <strong>악</strong>성 <strong>개</strong>인 <strong>ak</strong>sung <strong>gae</strong>in “a <a href="http://endic.naver.com/krenEntry.nhn?sLn=en&entryId=4365ace3b6ce43b7bc8334b8b6bdcab8&query=%EC%95%85%EC%84%B1">malicious</a> <a href="http://endic.naver.com/krenEntry.nhn?sLn=en&entryId=988df7dfd1bb43eba725026a329ada45&query=%EA%B0%9C%EC%9D%B8">individual</a> fan”
    </dd>
  </div>
  
  <div class="term">
    <dt>
      <span>Bias</span>
    </dt>
    <dd>
      Your favorite member in a group, the idol you’re biased toward
      <dl>
        <div class="term">
          <dt>Ult/Ultimate bias</dt>
          <dd>The one idol you love most compared to alllllll other idols</dd>
        </div>
        <div class="term">
          <dt>Bias wrecker</dt>
          <dd>An idol you have a fondness for, but is not your bias in your bias’ group
        </div>
      </dl>
    </dd>
  </div>
  
  <div class="term">
    <dt>
      <span>Daesang</span> 대상 deh·sahng
    </dt>
    <dd>
      At the end-of-year music award shows, the Daesang award is an honor given to one artist based on record releases and album sales. Literally “<a href="http://endic.naver.com/krenEntry.nhn?sLn=en&entryId=d4627e0c7e4e4fbf84390da6b12c157f&query=%EB%8C%80%EC%83%81">grand prize</a>”
    </dd>
  </div>
  
  <div class="term">
    <dt>
      <span>I-Fan</spna>
    </dt>
    <dd>International fan. A kpop fan who doesn’t live in Korea. Kpop fans are all over the world, so don’t assume all non-Korean fans are Western/American fans!</dd>
  </div>
  
  <div class="term">
    <dt>
      <span>_____-line</span>
    </dt>
    <dd>The term for grouping idols — think of it as the Western slang equivalent of "squad" or "crew". You’ll usually see this referred to as [year of birth]-line, [position]-line, etc.</dd>
  </div>
  
  <div class="term">
    <dt>
      <span>Netizen/knetz</spna>
    </dt>
    <dd>Portmanteau for “internet citizen.” Korean netizens are notoriously toxic in their critiques of idols (especially appearance) and blowing scandals out of proportion</dd>
  </div>
  
  <div class="term">
    <dt>
      <span>Point choreography</span>
    </dt>
    <dd>The point dance or point choreography is the key memorable move of a song’s choreography, often featured in the chorus or bridge
  </div>
  
  <div class="term">
    <dt>
      <span>Project group</span>
    </dt>
    <dd>
      A temporary group, ususally formed from a survival TV show (such as PD101 or The Unit) or made of idols from other groups (such as Cosmic Girls and Weki Meki forming WJMK)</dd>
  </div>
      
  <div class="term">
    <dt>
      <span>Sajaegi</span> 사재기 sah·jeh·kee
    </dt>
    <dd>A method of manipulating chart rankings by a group’s own agency bulk-buying their albums. Literally “<a href="http://endic.naver.com/krenEntry.nhn?sLn=en&entryId=2ea42459322a44e1889ea0480713178b&query=%EC%82%AC%EC%9E%AC%EA%B8%B0">stockpiling</a>”
  </div>
  
  <div class="term">
    <dt>
      <span>Sasaeng</span> 사생 sah·seng
    </dt>
    <dd>Stalker fan, <em>not</em> in a cute “stan” way. 사 sah “<a href="http://endic.naver.com/enkrEntry.nhn?sLn=en&entryId=5d76e60c545b419798d447c5ca6e7d01&query=private">private</a>” 생 saeng “<a href="http://endic.naver.com/krenEntry.nhn?sLn=en&entryId=3c483a1f3deb495b877ad48835482e29&query=%EC%83%9D">life</a>” — referencing the fan’s invasion of an idol’s private life
  </div>
  
  <div class="term">
    <dt>
      <span>Sub-unit</span>
    </dt>
    <dd>A smaller group within a larger group. Sub-units have their own name and concept, typically exploring a different genre than the main group focuses on</dd>
  </div>
</dl>
              
            
!

CSS

              
                /*
$color_primary:   #a083bc;
$color_secondary: #0c004f;*/
$color_primary:   #2EC2B0;
$color_secondary: #c0d2d4;
$color_secondary--rgba: rgba($color_secondary, 10%);

body {
  font-family: "Montserrat", sans-serif;
  text-transform: lowercase;
  font-weight: 400;
  line-height: 1.666;
  background: $color_secondary;
  color: #555;
}

h1 {
  font-weight: 900;
  font-size: 500%;
  text-align: center;
  margin-top: 4rem;
  color: #fff;
  line-height: 1.2;
  span {
    padding: 5px 15px;
    background: $color_primary;
  }
}


table {
  border-collapse: collapse;
  width: 100%;
  font-size: 90%;
  max-width: 100%;
  text-align: left;
  .center {
    text-align: center;
  }
}

th,
td {
  padding: 0.5rem;
  vertical-align: top;
}

th {
  text-align: inherit;
}

thead th {
  font-weight: 600;
  vertical-align: bottom;
  color: $color_primary;
  border-bottom: (2 * 1px) solid lighten($color_primary, 35%);
}

td {
  border-top: 1px solid lighten($color_primary, 40%);
}

.dictionary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 4rem auto;
  max-width: 90%;
}

a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  border-bottom: solid 2px lighten($color_secondary, 10%);
  &:hover {
    border-color: $color_primary;
  }
}

.dictionary>.term {
  text-align: center;
  max-width: 20rem;
  margin-bottom: 3rem;
  padding: 2rem;
  border-radius: 3px;
  box-shadow: 
    0 2px 0    rgba(0,0,0,0.05),
    0 5px 20px rgba(0,0,0,0.1);
  background-color: #fff;
  transition: all 100ms ease-in-out;
  &:hover {
    transform: scale(1.01) translateY(-4px);
    box-shadow: 
      0 2px 0    rgba(0,0,0,0.05),
      0 3px 10px rgba(0,0,0,0.1),
      0 5px 20px rgba(0,0,0,0.2);
  }
}


.dictionary>.term>dt {
  margin-bottom: 1rem;
}

dt {
  color: $color_primary;
  line-height: 1;
  span {
    font-size: 200%;
    font-weight: 900;
  }
}

dd {
  font-size: 92.5%;
  margin-left: 0;
}

dd dt {
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
  font-size: inherit;
}

dd dl {
  font-size: 90%;
  margin: 1rem auto 0 auto;
  letter-spacing: 0.33px;
  max-width: 15rem;
}

strong {
  color: $color_primary;
}

dd dl .term {
  margin-bottom: 1rem;
}

dd strong {
  border-bottom: solid 1px rgba(255,255,255,0.5);
}
              
            
!

JS

              
                
              
            
!
999px

Console