SHARE
TWEET

Judul dengan Garis Backgound Kiri Kanan

pustakakoran May 18th, 2017 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CSS:
  2. .datedAside {
  3.      background: linear-gradient(0deg, transparent 49%, #000 50%, transparent 51%);
  4. }
  5. .datedAside span{
  6.      background: #FFF;
  7.      padding: 0 0.5rem;
  8. }
  9.  
  10. Penggunaan:
  11. <p class="datedAside"><span>JUDUL ARTIKEL</span></p>
  12.  
  13. Sumber:
  14. http://stackoverflow.com/questions/11392089/horizontal-line-in-background-using-css3
  15.  
  16. Contoh macam-macam:
  17. https://codepen.io/ericrasch/pen/Irlpm
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top