cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

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.

Quick-add: + add another resource

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.

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.

            
              <h3>Chevrons + Text + Borders</h3>
<ul class="arrowbox">
  					<li>
						    Amount
					  </li>
  					<li>
						    Billing
					  </li>
					  <li>
						    Contact
					</li>
  					<li>
						    Confirm
  					</li>
				</ul>
<p>
  Chevrons are a pain to make in pure CSS, I made these for a client project as per the design. In retrospect, these would be easier to create with SVGs :) 
</p>
            
          
!
            
              $bg-color: rgba(0, 0, 0, 0.0);
$highlight: #E9A10D;
$arrow-color: #E05F0E;

body {
  margin: 10px;
  font-size: 16px;
}
.arrowbox{
	padding:0; 
  margin:0;    
	padding-left: 26px; 
	padding-right: 5.5px;
	display: inline-block;
	position: relative;
	&:before {
	    content: '';
		border-left: 25px solid $bg-color;
		border-top: 26px solid transparent;
		border-bottom: 25px solid transparent;
		border-right: 0;
		position: absolute;
		left: 0px;
	}
	&:after {
		content: '';
		border-left: 26px solid transparent;
		border-top: 26px solid $bg-color;
		border-bottom: 26px solid $bg-color;
		border-right: 0;
		position: absolute;
		right: 0px;
		top: 0;
	}
}

.arrowbox li {
	border: 1px solid #BABBBD;
	list-style-type: none;
	display: inline-block;
	margin-right: 20px;
	height: 50px;
	line-height: 50px;
	width: 150px;
	background: $arrow-color;
	font-size: 18px;
	text-align: center;
	position: relative;
	cursor: pointer;
	&::before {
		content: '';
		border-left: 25px solid transparent;
		border-top: 25px solid $arrow-color;
		border-bottom: 25px solid $arrow-color;
		border-right: 0;
		position: absolute;
		left: -25px;
	}
	&::after {
		content: '';
		border-left: 25px solid $arrow-color;
		border-top: 25px solid transparent;
		border-bottom: 25px solid transparent;
		border-right: 0;
		position: absolute;
		right: -24px;
	}
	&:hover {
		background: $highlight;
	}
}

.arrowbox li.active {
	background: $highlight;
	&::before {
		border-left: 25px solid transparent;
		border-top: 25px solid $highlight;
		border-bottom: 25px solid $highlight;
	}
}

.arrowbox li:hover::before {
	border-left: 25px solid transparent;
	border-top: 25px solid $highlight;
	border-bottom: 25px solid $highlight;
}

.arrowbox li.active::after, .arrowbox li:hover::after {
	border-left: 25px solid $highlight;
	border-top: 25px solid transparent;
	border-bottom: 25px solid transparent;
}


// 
body {
   font-family: Corbel, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", Verdana, "Verdana Ref", sans-serif;
  background-color: #85DFC7;
  text-align: center;
  webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
}
@import url(https://fonts.googleapis.com/css?family=Raleway:200,100);
h3 {
  font-size: 4em;
   @media (max-width: 768px) {
     font-size: 2.5em;
   }
  margin-top: 0.3em;
  margin-bottom:0.4em;
  color: #786E51;
  font-family: 'Raleway', sans-serif;
  font-weight:100;
}
li {
  color: white;
  font-weight:100;
}
.arrowbox li {
  @media (max-width: 768px) {
    font-size: 12px;
    width: 70px;
  }
   @media (max-width: 480px) {
    font-size: 9px;
    width: 49px;
  }
}
            
          
!
            
              /* 

                  ,,
                  ==
                   ==
                     ==
                      ==
                ==     ==
              ==  ==  ==
             ==     ==
      ,  ,    ==
      |\/|   ,-..-,
  ,d__(..)\_/      \
  ;-,_`o/          |
      '-| \_,' /^| /
        ( //  /  \ \
        || \ <    \ )
       _\|  \ )   _\\
        ~`  _\|    ~`
             ~`
             
     Ring Tail Lemurs love Pure CSS and hate SVGs.

*/
            
          
!
999px
Loading ..................

Console