Answer the question
In order to leave comments, you need to log in
How to nest html inline tags after jade compilation?
jade code:
.thumbnail
.thumbnail-inner
a(href="#")
img(src="img-1.jpg")
span.overlay
<div class="thumbnail">
<div class="thumbnail-inner"><a href="#"><img src="img-1.jpg"><span class="overlay"></span></a></div>
</div>
<div class="thumbnail">
<div class="thumbnail-inner">
<a href="#">
<img src="img-1.jpg">
<span class="overlay"></span>
</a>
</div>
</div>
Answer the question
In order to leave comments, you need to log in
At one time (a year ago) I was looking for a solution and did not find it, most likely nothing has changed. The only thing you can add a comment:
.thumbnail
.thumbnail-inner
// Ссылка 1
a(href="#")
img(src="img-1.jpg")
span.overlay
// Ссылка 2
a(href="#")
img(src="img-1.jpg")
span.overlay
<div class="thumbnail">
<div class="thumbnail-inner">
<!-- Ссылка 1 --><a href="#"><img src="img-1.jpg"><span class="overlay"></span></a>
<!-- Ссылка 2 --><a href="#"><img src="img-1.jpg"><span class="overlay"></span></a>
</div>
</div>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question