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.

            
              .top
  .top-content
    // *照片開始
    .photo
      img(src='https://farm9.staticflickr.com/8476/29069780764_5d19dc21c1_m.jpg', alt='photo')
      h1 CHEN YI AN
    // *照片結束
    // *聯絡資訊開始
    .info
      .title
        | Front-End Developing Learner
      .contact
        .url
          a(href='https://www.facebook.com/ianchen0419', target='_blank')
            i.fa.fa-facebook-official(style='font-size: 36px; color: #90A955;background-color: #24260f;')
          span fb.me/ianchen0419
        .url
          i.fa.fa-skype(style='font-size:36px;color:#90A955;background-color: #24260f;')
          span ianchen0419
        .url
          i.fa.fa-envelope-o(style='font-size:36px;color:#90A955;background-color: #24260f;')
          span ianchen0419@gmail.com
    // *聯絡資訊結束
// *表頭結束
// 內容開始
.content
  .max-width
    // 左邊開始
    .left
      // 工作經歷開始
      .experience
        .con-title.ex-title EXPERIENCE
        .ex-content
          .ex-con-left
            .dot
            .vertical-line
          .ex-con-right
            h3 Japan EC Site Executive
            h5 Uitox Taiwan
              span |2016.07 ~ 2017.02 
            p Take account of Japan EC Site operating.
              br
              |In terms of Fast Fashion, we export Taiwan online fashion brand to Japan.
              br
              |Duties: Japanese Meeting Interpretion, Japanese Translation, Documents making.
      // 工作經歷結束
      // 學歷開始
      .education
        .con-title.ed-title EDUCATION
        .ed-content
          .ed-con-left
            .dot
            .vertical-line
          .ed-con-right
            h3 Double Major:
              br
              |Japanese & International Business
            h5 Soochow University
              span |2012.09 ~ 2016.06
            p Study Field:
              br
              |Japanese Languages, Japanese Culture, Japanese Grammer, English, Economics, Statistics, Accounting, Marketing, Management, Trade Practices.
      // 學歷結束
    // 左邊結束
    // 右邊開始
    .right
      // 語言能力開始
      .languagues
        .con-title.la-title LANGUAGES
        .la-content
          .chinese
            h3 CHINESE
            h4 native
          .outer-jp
            .sq1-jp
            .sq2-jp
            .sq3-jp
            .inner-jp
              h3 JAPANESE
              h4 JLPT N1
          .outer-eng
            .sq1-eng
            .sq2-eng
            .inner-eng
              h3 ENGLISH
              h4 TOEIC 830
      // 語言能力結束
      //技能開始
      .skills
        .con-title.sk-title SKILLS
        .skill-content
          .skill-con-left
            .skill-bar
              span HTML
              .skill-level
                .yes
                .yes
                .yes
                .yes
                .yes
            .skill-bar
              span CSS
              .skill-level
                .yes
                .yes
                .yes
                .yes
                .yes
            .skill-bar
              span JavaScript
              .skill-level
                .yes
                .yes
                .yes
                .yes
                .no
          .skill-con-right
            .skill-bar
              span WordPress
              .skill-level
                .yes
                .yes
                .yes
                .yes
                .no
            .skill-bar
              span Bootstrap
              .skill-level
                .yes
                .yes
                .yes
                .no
                .no
            .skill-bar
              span PHP
              .skill-level
                .yes
                .yes
                .no
                .no
                .no
      // 技能結束
      // 作品集開始
      .portfolio
        .con-title.sk-title PROTFOLIO
        .po-content
          .po-con-right
            a(href="https://codepen.io/ianchen0419/" target="_blank")
              i(class="fa fa-codepen" style="font-size:100px;")
            span CODEPEN
          .po-con-middle
            a(href="http://ianchen.thisistap.com/" target="_blank")
              i(class="fa fa-wordpress" style="font-size:100px;")
            span WEBSITE
          .po-con-left
            a(href="https://github.com/ianchen0419" target="_blank")
             i(class="fa fa-github" style="font-size:100px;")
             span GITHUB
      // 作品集結束
      // 右邊結束
      // 內容結束
            
          
!
            
              // 用色定義區
$dark: #24260f
$bg: #f2f2e9
$sub: #90a955
$light: #c1d7ae

//字體定義區
$fmh: lato
$fmp: karla
$base-size: 10px

//mixin設定區
@mixin abso
  position: absolute
  
@mixin ib
  display: inline-block

@mixin center
  position: absolute
  top: 50%
  left: 50%
  transfrom: translateX(-50%) translateY(-50%)
  
@mixin size($w,$h)
  width: $w
  height: $h
  
@mixin t-dr
  transition-duration: 0.5s
  
@mixin t-dl
  transition-delay: 0.5s
  
@mixin clear
  opacity: 0

@mixin unclear
  opacity: 1
  
//CSS開始


*
  // border: solid 1px white
  vertical-align: top
  box-sizing: border-box
  background-color: $bg
  color: $dark
  font-family: $fmh, sans-serif
  font-weight: 300
  line-height: 36px
  +t-dr

html,body
  margin: 0px
  padding: 0px
  width: 100%


.top
  height: 300px
  background-color: #24260f


.top-content
  +size(1027px,300px)
  background-color: $dark
  margin-right: auto
  margin-left: auto

  
.photo
  +size(200px,275px)
  +ib
  margin-top: 20px
  margin-left: 300px
  background-color: $dark

  
  h1
    text-align: center
    font-weight: 500
    font-size: 30px
    position: relative
    bottom: 15px
    background-color: $dark
    color: $bg
    margin-top: 30px


img
  +size(200px,200px)
  border-radius: 100%
  

.info
  +size(450px,275px)
  margin-top: 20px
  background-color: $dark


.photo,.info
  +ib

.title
  +size(350px,80px)
  margin-left: 50px
  padding-top: 15px
  text-align: center
  font-size: 26px
  line-height: 80px
  border-bottom: solid 3px $sub
  background-color: $dark
  color: $bg


.contact
  +ib
  margin-left: 50px
  margin-top: 20px

.url
  padding-left: 10px
  padding-top: 10px
  background-color: $dark
  color: $bg
  & span
    line-height: 36px
    font-family: $fmp, sans-serif
    padding-left: 10px
    background-color: $dark
    color: $bg

.max-width
  width: 1027px
  margin-right: auto
  margin-left: auto

.left,.right
  +ib
  +size(49%,700px)

.con-title
  +size(450px,50px)
  font-weight: 900
  font-size: $base-size*2
  color: $sub
  margin-left: 30px
  margin-top: 30px
  padding-top: 15px
  border-bottom: solid 1px $dark

.ex-con-left
  +ib
  +size(50px,250px)
  margin-left: 30px
  & .dot
    +size(10px,10px)
    border-radius: 100%
    background-color: $dark
    margin-left: 20px
    margin-top: 30px
  & .vertical-line
    +size(3px,170px)
    border-radius: 10%
    background-color: $sub
    margin-left: 24px
    margin-top: 5px

.ex-con-right
  +ib
  +size(400px,250px)
  & h3
    margin: 10px
    margin-top: 20px
    font-size: $base-size*2
    font-weight: bold
    line-height: 20px
  & h5
    margin: 10px
    font-size: $base-size*2
    font-weight: bold
    color: $sub
  & span
    font-size: $base-size*1.6
    color: $dark
    margin: 10px
  & p
    margin: 10px 10px 0px 10px
    line-height: 20px
    font-size: $base-size*1.6
  & br
    line-height: 26px
    
.ed-con-left
  +ib
  +size(50px,250px)
  margin-left: 30px
  & .dot
    +size(10px,10px)
    border-radius: 100%
    background-color: $dark
    margin-left: 20px
    margin-top: 30px
  & .vertical-line
    +size(3px,170px)
    border-radius: 10%
    background-color: $sub
    margin-left: 24px
    margin-top: 5px

.ed-con-right
  +ib
  +size(400px,250px)
  & h3
    margin: 10px
    margin-top: 20px
    font-size: $base-size*2
    font-weight: bold
    line-height: 20px
  & h5
    margin: 10px
    font-size: $base-size*2
    font-weight: bold
    color: $sub
  & span
    font-size: $base-size*1.6
    color: $dark
    margin: 10px
  & p
    margin: 10px 10px 0px 10px
    line-height: 20px
    font-size: $base-size*1.6
  & br
    line-height: 26px
  


.languages
  height: 250px

.la-title
  margin-left: 10px

.chinese
  +size(150px,150px)
  +ib
  border-radius: 100%
  overflow: hidden
  margin: 30px 15px 0px 10px
  border: solid 5px $sub
  h3
    text-align: center
    margin-top: 40px
    font-weight: bold
    font-size: $base-size*1.6
  h4
    text-align: center
    margin-top: -20px
    color: $sub

.outer-jp
  +size(150px,150px)
  +ib
  background: $light
  border-radius: 100%
  position: relative
  overflow: hidden
  margin-top: 30px

.sq1-jp
  +size(150px,150px)
  +abso
  left: 75px
  background-color: $sub

.sq2-jp
  +size(75px,75px)
  +abso
  top: 75px
  background-color: $sub

.sq3-jp
  +size(75px,75px)
  background-color: $sub
  transform-origin: bottom
  transform: skewX(36deg)
  
.inner-jp
  +size(140px,140px)
  +abso
  border-radius: 100%
  top: 5px
  left: 5px
  background-color: $bg
  overflow: hidden
  & h3
    text-align: center
    margin-top: 40px
    font-weight: bold
    font-size: $base-size*1.6
  & h4
    text-align: center
    margin-top: -20px
    color: $sub



.outer-eng
  +size(150px,150px)
  +ib
  background: $light
  border-radius: 100%
  position: relative
  overflow: hidden
  margin-top: 30px
  margin-left: 10px

.sq1-eng
  +size(150px,150px)
  +abso
  left: 75px
  background-color: $sub


.sq2-eng
  +size(75px,75px)
  +abso
  top: 75px
  background-color: $sub

.inner-eng
  +size(140px,140px)
  +abso
  border-radius: 100%
  top: 5px
  left: 5px
  background-color: $bg
  overflow: hidden
  h3
    text-align: center
    margin-top: 40px
    font-weight: bold
    font-size: $base-size*1.6
  h4
    text-align: center
    margin-top: -20px
    color: $sub

.skills
  height: 200px


.sk-title
  margin-left: 10px
  margin-top: 0px

.skill-con-left,.skill-con-right
  +ib
  +size(230px,130px)
  margin-top: 20px

.skill-bar
  span
    +ib
    font-weight: bold
    margin-left: 10px
    width: 90px

.skill-level
  +ib
  margin-left: 10px

.yes
  +ib
  +size(15px,15px)
  border-radius: 100%
  background-color: $sub
  margin-top: 10px
  margin-right: 2px

.no
  +ib
  +size(15px,15px)
  border-radius: 100%
  background-color: $light
  margin-top: 10px
  margin-right: 2px

.portfolio
  height: 200px
  

.po-con-right
  +ib
  +t-dr
  +size(150px,160px)
  margin-left: 10px
  padding-top: 10px
  opacity: 0.5
  position: relative
  top: 0px
  & span
    +ib
    font-weight: bold
    width: 100px
    text-align: center
  &:hover
    opacity: 1
  &:active
    top: 10px
  

.po-con-middle
  +ib
  +size(150px,160px)
  margin-left: 10px
  padding-top: 10px
  opacity: 0.5
  position: relative
  top: 0px
  & span
    +ib
    font-weight: bold
    width: 100px
    text-align: center
  &:hover
    opacity: 1
  &:active
    top: 10px
  
.po-con-left
  +ib
  +size(150px,160px)
  margin-left: 10px
  padding-top: 10px
  opacity: 0.5
  position: relative
  top: 0px
  & span
    +ib
    font-weight: bold
    width: 100px
    text-align: center
    padding-right: 15px
  &:hover
    opacity: 1
  &:active
    top: 10px
            
          
!
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.

Console