C
C
Christina2017-09-09 20:08:09
CMS
Christina, 2017-09-09 20:08:09

Where to write styles for a new block on magento2?

Hello!
Where is it correct to write styles for a new block in magento2?
Can this be done in the HTML Source Editor?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
imdeveloper, 2017-09-16
@KrisIris

Hello! This is not smart. Because it's bad manners to open the styles tag multiple times, but it will work. You can either write styles directly in the tag you need (for example : <tr style="background-color: red;">etc) it will be correct. The second option is more correct - write styles in style files, you can find them in your you, but this option is more complicated than the first and requires skills in working with magento and style preprocessors. You can see more details on the websites https://www.google.com/search?rlz=1CDGOYI_enBY740B...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question