cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-personicon-teamoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

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.

            
              <div id='risalahku'>
<div class="blockquote2">
<div class='quote2'>
Catatan :</div>
<br />
Belajarlah untuk mati dan kamu akan hidup. Sebab dengan memahami kematian seseorang akan lebih menghargai makna kehidupan.</div>
  
<div class='blockquote1'>Kadang untuk bisa itu tidak harus bisa. Tekad kuat, berani, percaya diri dan penuh keyakinanlah yang akan membuat kita menjadi bisa</div>
<br/>
<br/>
<div class='blockquote4'>Kadang untuk bisa itu tidak harus bisa. Tekad kuat, berani, percaya diri dan penuh keyakinanlah yang akan membuat kita menjadi bisa</div>    
<br/>
<br/>
<div class='blockquote5'><p>Kadang untuk bisa itu tidak harus bisa. Tekad kuat, berani, percaya diri dan penuh keyakinanlah yang akan membuat kita menjadi bisa</p></div>  
  
<div class="blockquote3">
Raya....<br/>
Hidupmu tak pernah sunyi<br/>
Meski sunyi namun, debu tak pernah hilang<br/>
Bergelombang dan berliku-liku<br/>
<br/>
Terkadang haus akan nyawa<br/>
Terkadang menggebu tanpa menengok<br/>
Bersahutan berirama<br/>
<br/>
Panas, hujan kau tetap sama<br/>
Alurmu tidak terbatas<br/>
Kau raya.... <br/>
<div class="quote-by">— Nur Ameliya</div>
</div>  
  
</div>
            
          
!
            
              @import
url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css);
body {
  margin: 2% auto;
  padding: 20px;
  background: #ffffff;
  font-family: Quicksand, sans-serif;
}

#risalahku {
  margin: 2% auto;
  width: 100%;
  max-width: 600px;
}

/* CSS blockquote 1 */
.blockquote1{background:#459d3f;position:relative;padding:45px 20px 20px 20px;color:#fff;margin:10px 0;font-family:cursive;border-radius:3px}
.blockquote1:before{position:absolute;content:'NOTE ~';background:rgba(255,255,255,1);right:3px;left:3px;top:3px;padding:5px 20px;display:block;font-weight:700;border-radius:5px 5px 5px 5px;color:#fd2f01}
.blockquote1:after{position:absolute;content:'\f0a1';right:10px;bottom:5px;font-family:FontAwesome;font-style:normal;font-weight:normal;font-size:160%;color:rgb(255, 255, 255)}

/* CSS blockquote 2 */
.blockquote2 {
  position: relative;
  display: block;
  padding: 10px 12px 12px 68px;
  color: #f5f6e8;
  background: #415471;
  line-height: 1.4;
}

.blockquote2::before {
  content: "\201C";
  background-color: #83a2d1;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 60px;
  font-family: FontAwesome;
  color: #415471;
  text-align: center;
  line-height: 68px;
  position: absolute;
  left: 16px;
  top: 10px;
}

.quote2 {
  position: relative;
  padding: 5px 0;
  border-bottom: 2px solid #ddd;
  font-weight: 700;
}

.quote2:before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  background: #30cc91;
  width: 75px;
  height: 3px;
}

/* CSS blockquote 3 */
.blockquote3 {
  position: relative;
  font-family: monospace;
  margin: 30px auto;
  padding: 30px 20px 17px 50px;
  line-height: 30px;
  color: #6a5f49;
  text-shadow: 0 1px 1px white;
  background-color: #f2f6c1;
  background-image: -webkit-radial-gradient(center, cover, rgba(245, 126, 137, 0.6) 0%, rgba(255, 255, 255, 0.1) 90%), -webkit-repeating-linear-gradient(top, transparent 0%, transparent 29px, rgba(239, 207, 173, 0.7) 29px, rgba(239, 207, 173, 0.7) 30px);
  border: 1px solid #c3baaa;
  border-color: rgba(195, 186, 170, 0.9);
  box-sizing: border-box;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), inset 0 0 5px #d8e071, 0 0 1px rgba(0, 0, 0, 0.1), 0 2px rgba(0, 0, 0, 0.02);
}

.blockquote3:before, .blockquote3:after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
}

.blockquote3:before {
  left: 28px;
  width: 5px;
  border: solid #efcfad;
  border-color: rgba(239, 207, 173, 0.9);
  border-width: 0 2px;
}

.blockquote3:after {
  z-index: -1;
  left: 0;
  right: 0;
  background: rgba(242, 246, 193, 0.9);
  border: 1px solid rgba(170, 157, 134, 0.7);
  -webkit-transform: rotate(2deg);
  -moz-transform: rotate(2deg);
  -ms-transform: rotate(2deg);
  -o-transform: rotate(2deg);
  transform: rotate(2deg);
}

.quote-by {
  display: block;
  padding-right: 10px;
  text-align: right;
  font-size: 13px;
  font-style: italic;
  color: #84775c;
}

/* CSS blockquote 4 */
.blockquote4{
  position: relative;
  font-family: monospace;
  display:block;
  font-size: 15px;
  line-height: 1.2;
  color: #666;
  border: solid 1px #98A81B;  
  background: #F5F6E8;
  padding: 28px 60px;
}

.blockquote4::before{
  content: "\201C"; 
  background-color: #FFF; 
  border-radius: 50%;
  width: 75px;
  height:75px;
  font-size: 60px;
  font-weight: bold;
  color: #98A81B;
  text-align: center;
  line-height: 93px;
  position: absolute;
  left: -30px;
  top: -30px;
}

.blockquote4::after{
  content: "";
}

/* CSS blockquote 5 */
.blockquote5 {
  text-align: center;
  background: #fff;
  font-size: 20px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  position: relative;
  quotes: "\201C""\201D""\2018""\2019";
}

.blockquote5:after {
  color: #ccc;
  font-family: Source Sans Pro;
  content: open-quote;
  font-size: 80px;
  position: absolute;
  left: 50%;
  bottom: calc(100% - 20px);
  background: #fff;
  height: 55px;
  width: 55px;
  line-height: normal;
  text-align: center;
  transform: translateX(-50%);
}

.blockquote5 p {
  padding: 20px;
}

            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console