More display-* headings - .display-5
See original GitHub issueNew .display-5 class
When creating website banners I often find myself using one of the .display-*
headings from Bootstrap. They’re clean, simple and look great!
The problem I’ve encountered is I find myself slightly restricted with the current .display-*
classes, more specifically with the sizing, I often find myself needing something slightly smaller than .display-4
and often tend to create my own .display-5
class, and in the very rare occasion a .display-6
class.
Could we extend this part and create an additional .display-65
class?
Something like:
.display-5 {
font-size: 2.5rem;
font-weight: 300;
line-height: 1.2;
}
I’m sure this wouldn’t take too long to add?
This is a mock-up of what the sizing would look like:
Many Thanks!
😃
Reference: https://getbootstrap.com/docs/4.1/content/typography/
Issue Analytics
- State:
- Created 5 years ago
- Reactions:7
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Display5 FAQ and Quickstart Guide -
Here is our Display5 FAQ and Quickstart Guide to help you get started and iron out any of the technical wrinkles to ensure...
Read more >How to display headings information in the margins
Is it possible to place smart headings information in the margins. Side margins for preference? ,I would like to have the section name ......
Read more >Studio Display review: An Apple monitor where “5K” doesn't ...
Many MacBooks, including the old 12-inch MacBook and some more recent Air and Pro models, actually shipped using a scaled display mode out...
Read more >Free Professional Business Website Template Get Now!
margin: 0%; padding: 0%; } .header{ width: 100%; height: 100px; background-image: ... .display5{ width: 100%; height: auto; margin-top: 50px; display: flex; } ...
Read more >Creating different headers for different screen sizes
1. Choose desktop header section by selecting its section from Navigator or by clicking Edit Selection button that appears on blue grid in ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Display 1-4 are in the large, larger, extra large, largest (let’s get ridiculous) range. It would be good to have display 5-6 which would add small and medium. Would also compliment h 1-6
Yes, everything is just a few lines of CSS to add.
As a framework and a dependency is our responsibility to take care not to bloat our users code more than we already do.
That’s why in my opinion, we should think about each usecase and make sure they are common enough to belong in bootstrap and not in the authors code.
I don’t think that what you are proposing is wrong, I just wonder if it is a common enough need.
Does it make sense?