| 
		
			Сообщение от ksa
			
		
	 | 
	
		- обычный красный квадрат :before 
- перекрыть его сверху белым фоном родителя
	 | 
	
Мой вариант не получится... 
 
Т.к. z-index элемента и его псевдоэлемента будет как у элемента. 
<style type='text/css'>
div {
	position: relative;
	width: 100px;
	height: 100px;
	margin: 100px;
	z-index: 2;
	background-color: green;
}
div:before {
	content: '';
	display: block;
	position: relative;
	top: -10px;
	left: -10px;
	width: 50px;
	height: 50px;
	z-index: 1;
	background-color: red;
}
</style>
<div></div>