C
C
Confy2018-12-29 21:13:40
HTML
Confy, 2018-12-29 21:13:40

Pug. How to style a template separately?

Let's say you have 5 identical forms on different pages. You make form.html , include , but you need to style one of the forms a little differently from the "standard" one. How will you do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
name surname, 2018-12-29
@Confy

mixin plus class

include forma
+forma().red-forma
+forma().green-forma

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question