foto html - css     . Border - Papierlagen

Omschrijving   Voorbeeld

De papieren liggen aan de onderkant of er boven.  

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

 

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

In de css

.layered-paper01 {
background: #E5CC6E;
box-shadow:
0 1px 1px rgba(0,0,0,0.15),
0 15px 0 -5px #A6A6A6,
0 15px 1px -4px rgba(0,0,0,0.15),
0 30px 0 -10px #787878,
0 30px 1px -9px rgba(0,0,0,0.15);
width:350px;
color:#000;
padding:20px;}
of:
.layered-paper02 {
background: #E5CC6E;
box-shadow:
0 -1px 1px rgba(0,0,0,0.15),
0 -15px 0 -5px #A6A6A6,
0 -15px 1px -4px rgba(0,0,0,0.15),
0 -30px 0 -10px #787878,
0 -30px 1px -9px rgba(0,0,0,0.15);
padding: 20px;
width:350px;
color:#000;}

Tussen de bodytags

<p><div class="layered-paper01">
tekst
</div>
of:
<p><div class="layered-paper02">
tekst
</div>

end
terug
home