W
W
Web Lizard2016-04-13 16:44:33
Sass
Web Lizard, 2016-04-13 16:44:33

How to make a mixin that can be invested in?

How to make a mixin that works like input-placeholder . That is, you can insert an attachment into it.

@include input-placeholder {
    color: #bfbfbf;
    font-style: italic;
  }

What does the code for such a mixin look like?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kravchenko, 2016-04-13
@Lizard-108

SASS content directive is a wonderful thing@content

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question