A
A
Anna Kolchina2018-05-08 21:47:52
css
Anna Kolchina, 2018-05-08 21:47:52

What does the code: .\31 u\24 mean?

What does the code: .\31 u\24 mean? And how is it created?
Compiled via SASS, if so, how?
5af1f07a0cf4f736557887.jpeg

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey delphinpro, 2018-05-09
@iannkolchina

This is simple escaping, escaping special characters. or invalid characters.
In CSS, a class can only start with the characters "az, _, -"
But in html, you can write anything.
So you can do this

.\31 {}
.\@md-3

<div class="31"></div>
<div class="@md-3"></div>

This has nothing to do with sass. pure css.

F
frees2, 2018-05-08
@frees2

<a href=\x22#\x22 id=\x22
----------------
Maybe like a replacement?

A
Alexander Pushkarev, 2018-05-08
@AXP-dev

This is unicode.
i.e.
More details here https://mathiasbynens.be/notes/css-escapes

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question