Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is . in on-line documentation
Message
 
 
À
18/04/2018 09:47:39
Information générale
Forum:
Bootstrap
Catégorie:
Documentation
Divers
Thread ID:
01659513
Message ID:
01659522
Vues:
30
>>>>Hi,
>>>>When I read Bootstrap 4 documentation, very often a class name has a prefix period (.). For example, .btn-group-toggle or .d-none and so on. What is the meaning of the period (.)? When I use classes in the HTML5 code, I don't think I enter them. For example, I could say
Why, then, in the docs they use this period?
>>>
>>>means you need to add this string in the class HTML attribute; eg. class="btn-group-toggle another-class"
>>
>>Thank you. This part I understood (that you have to add this string to the class attribute). It is just this (.) in the docs is/was confusing. I will just ignore it.
>
>usual visual convention in HTML doc, reminds a CSS class selector

Yes, makes sense.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform