Skip to content

Instantly share code, notes, and snippets.

View verekia's full-sized avatar

Verekia verekia

View GitHub Profile
table tr:nth-child(2n + 1){
background-color:#EEF;
}
table tr:nth-child(odd){
background-color:#EEF;
}
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
.comment{
background: white;
border: 1px solid black;
border-radius: 30px;
}
.comment{
background: white;
border: 1px solid black;
}
/* Taille des coins */
.comment .top-left,
.comment .top-right,
.comment .bottom-left,
.comment .bottom-right{
width:50px;
height:50px;
}
<table class="comment">
<tr>
<td class="top-left"></td>
<td class="top"></td>
<td class="top-right"></td>
</tr>
<tr>
<td class="left"></td>
<td class="content">Ouah, c'est vraiment une excellente introduction au CSS3 !</td>
<td class="right"></td>
<div class="comment">
Ouah, c'est vraiment une excellente introduction au CSS3 !
</div>
function drop(target, e) {
// Traitement
}
<div ondrop="drop(this, event)">