T
T
teodor7teodor72016-04-14 10:58:45
css
teodor7teodor7, 2016-04-14 10:58:45

Is it possible in CSS to define a class that duplicates another?

Good afternoon, there is a ready-made class, I need it to be identical to Col-lg-5, how can I define it in CSS so that it links, that is, it is identical.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
F
Fahrenhe17, 2016-04-14
@teodor7teodor7

In scss
.class {
@extend .col-lg-5
}

A
Alexander, 2016-04-14
@verstka

Em…

.some-class,
.col-lg-5 {
    /* .col-lg-5 rules */
}

A
Alexander, 2016-04-14
@lasmaster

.Col-lg-5, .You-class {...}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question