A
A
AlexanderShustik2014-11-01 11:32:53
Mobile development
AlexanderShustik, 2014-11-01 11:32:53

How to properly style bootstrap headers?

Hello, there is a code, on bootstrap:

<p class="hidden-sm">Заголовок</p>
<h1 class="hidden-xs">Заголовок</h1>

What can you think of so as not to duplicate headings, do not offer media queries.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Everlier, 2014-11-02
@AlexanderShustik

Two simple solutions:
- Viewport object for class control on related nodes.
- Viewport object to control classes on body, and overloaded styles for each of the cases.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question