css corner fold

by ian_smithz

HTML

<div class="bbq-item" style="display: block;">
		
		<div class="all-content">
        
  <!-- home content -->
        
<!-- container for 2 x 1x1 -->
<div class="container-2x1">


        
        <a href="#home.html" id="homeLink" class="bbq-current">
        <div class="box-1x1 fuschia-bg">
            
            <div id="logoScroll" style="position: relative; overflow: hidden;">
            
				<div class="fuschia-bg logo" style="position: absolute; top: 0px; left: 0px; display: block; z-index: 3; opacity: 1; width: 150px; height: 150px;">
				
				</div>
            
            	<div class="fuschia-bg logo-text" style="position: absolute; top: 150px; left: 0px; display: block; z-index: 4; opacity: 1; width: 150px; height: 150px;">
					
				</div>
            
            	<div class="fuschia-bg home" style="position: absolute; top: -150px; left: 0px; display: none; z-index: 3; opacity: 1; width: 150px; height: 150px;">
				    
                <h4>Home</h4>
				</div>
            
            </div>
            <!-- end logoscroll -->
            
         </div>
         </a>
            
     
          
                 <a href="#careers.html" id="careersLink">
            <div class="box-1x1 white-bg careers">
				<h4>XXXXX</h4>
                <div class="fold"></div>
			</div>
            </a>

</div>
<!-- end container for 2 x 1x1 -->
<div class="container-2x1">

         <a href="#contact.html" id="contactLink">
            <div class="box-1x1 blue-bg contact">
            	
                <div class="email"> </div>
            	<div class="facebook"> </div>
                <div class="twitter"> </div>
                
				<h4>XXXXX</h4>
                <div class="fold"></div>
			</div>
            </a>
          
         <a href="#case-studies.html" id="caseLink" class="">
            <div class="box-1x1 turquoise-bg no-bottom-margin case">
            
           		<div id="caseScroll" style="position: relative;">
           
          ...

CSS

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/*==============================
clearfix
==============================*/

.clearfix {
}
.clearfix:before, .clearfix:after {
    content: "";
    display: table;
}
.clearfix:after {
    clear: both;
}

/*==============================
 STYLES
==============================*/
body, input {color:#004963; font-family: 'Avenir LT W01 55 Roman', Tahoma, Verdana, sans-serif; font-size: 62.5%;}

body {background:#004964 url('../img/mint-body-bg.png') no-repeat 0 0;}	

img {border: 0 none}

a {color:inherit; text-decoration:none}
a:link{text-decoration:none}
a:hover {text-decoration:underline;} 
a:visited {color:inherit;}

a:focus {outline: thin dotted #333333; outline-offset: -2px;}
a:hover, a:active {outline: 0 none;}


html {
    font-size: 100%;
}

input::-moz-focus-inner { border: 0; padding: 0;} /*Remove button padding in FF*/



.all-content {
width: 942px; height:471px; margin: 0 auto;...