.social-button { margin-right:1%; }
.social-button:first-child { margin:0; } /* ilk class için * /
.social-button:last-child { margin:0; } /* son class için */
.social-button:nth-child(2) { margin:0; } /* ikinci class için */
Kullanım mantığını anlattığınız için teşekkürler ancak :not ile yapmak benim için en doğrusu oldu. Yeni
.social-button:not(:first-child)
tum hepsine marginl-eft ver hocam
.social-button:first-child {
margin-left: 0;
}
boyle yaparak 1.yi haric tutarsin[/QUOTE]
.social-button:not(:first-child) ile yaptım oldu ancak ne dediğini anlayamadım.
.social-button:nth-child(n+2) {
margin-left: 1%;
}
Bu tam olarak ne demek?
.social-button:not(:first-child){
}
Dediğiniz gibi yaptım sorun çözüldü, teşekkürler.