« Bac à sable » : différence entre les versions
De Omnis Bibliotheca
m (Page blanchie) Balises : Blanchiment Révocation manuelle |
mAucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
{{#css: | |||
.special-message-wrapper { | |||
max-width: 100%; | |||
width: 800px; | |||
background: #0000ff50; | |||
height: 400px; | |||
margin: auto; | |||
perspective: 1400px; | |||
transform-style: preserve-3d; | |||
perspective-origin: center center; | |||
} | |||
.special-message-top { | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
width: 100%; | |||
height: 100%; | |||
background: yellow; | |||
transform-origin: center top !important; | |||
transform: rotateX(-30deg); | |||
} | |||
.special-message-bottom{ | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
width: 100%; | |||
height: 100%; | |||
background: red; | |||
transform-origin: center bottom !important; | |||
transform: translateZ(-100px) rotateX(25deg); | |||
} | |||
}} | |||
<div class="special-message-wrapper"> | |||
<div class="special-message-top"> | |||
</div> | |||
<div class="special-message-bottom"> | |||
</div> | |||
</div> |