Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Complication with margins
Message
De
11/11/2016 13:12:11
 
 
À
11/11/2016 13:08:25
Information générale
Forum:
CSS
Catégorie:
Autre
Divers
Thread ID:
01643109
Message ID:
01643199
Vues:
27
>Did you try :last-child pseudo-class selector? https://www.w3.org/TR/css3-selectors/#last-child-pseudo

I believe that would be on the last item only. In my case, this wraps on several rows. I only showed the first row. But, I have about 6. So, the goal is to avoid the margin-right on the last item on each line, no matter if we have 4 items, 3 or 2, depending on the browser resizing. Later on in this thread, I then found the column-gap css but that does not work at all. There might be some conflict based on what is inside such a div when the column-gap applies.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform