Howdy Iām new to bootstrapā¦ But I just created a website with bootstrap even though I didnāt host itā¦ Tz cool but I found it difficult to edit many things in the CSS folderā¦ Lolā¦ I ended up removing every single padding I set my eyes onš
@sophie you dont need to edit any thing in the css folder if you want to add your own styling just create your own css file and add ur styling it will override some bootstrap ones you know css rules is the last style has priority than the other
U donāt need to edit ur css folders all u need is to knw d class when to add and hw to use dem
Sorry i meant a lotš
How do you mean? On the CSS rules. Please elaborate.
what i mean is in CSS ur last style will always override the ones you have before
for example
if you have styled a paragraph tag before
in a file like this
.p{
color:red;
}
and u create another css file and style the same paragraph tag like this
.p{
color:blue;
}
this new style will override the last styling
@danny dat what i mean
[quote=āIbrahim_Adewumi_Ogun, post:9, topic:180, full:trueā]
what i mean is in CSS ur last style will always override the ones you have before
for example
if you have styled a paragraph tag before
in a file like this
.p{
color:red;
}
and u create another css file and style the same paragraph tag like this
.p{
color:blue;
}
this new style will override the last styling
@danny dat what i mean
@Ibrahim_Adewumi_Ogun @danny also note dat u can u class in ur bootstrap website Web site, and when u include include an id into it, it overrides d class function,
example when u have
word
CSS file,
. bb{
color : blue; }
ur id will override text color created by class
Okay, do you mean in a chronological order?
What @Ibrahim_Adewumi_Ogun is trying to say is ; if you have a CSS file for a particular page in such a way that u have two same selectors( both with the same CSS properties but different values) or two selectors with the same specificity pointing to the same section of a page ,the identical selector that succeeds the previous will override the previous and itās ( the succeeding ) CSS command /properties will be applied to the section of the page uāre linking to
For example
In a CSS file u have,
p { color: red;}
p {color: blue;}
The second CSS command will override the first ,therefore the āpā section of your page will be displayed in blue font
I hope this little helps @danny
Oh yeahā¦ @kamteezey . I did not see this earlier. That was my thought, you just confirmed it. Thank you
Can we have a bootstrap competition just CSS n HTML no js