Having been using Twitter Bootstrap 3 for some time, the arrival of Twitter Bootstrap 4 has caught my attention. The new Twitter Booststrap
comes with various changes, such as the renaming of .table-condensed
to .table-sm
, for instance. In anticipation of a potential transition from the current to future version, is there a way to ensure that HTML code remains unaffected by any changes in CSS class names?
For instance, if I have a .table-condensed
class, is it possible to create my own table-small
class that is derived from the existing Twitter Bootstrap
's table-condensed
class? Perhaps something along the lines of (pseudo-code):
.table-small {
join(".table-condensed")
}
Up until now, I have solely utilized pure CSS
as a Front-End Developer, rather than being a full-stack developer. Therefore, if anyone could enlighten me on whether this is achievable in any way, possibly utilizing preprocessors or similar techniques, I would be extremely thankful - thank you in advance!