


Share a method to make the font size larger and not centered in the preface
Apr 27, 2017 pm 03:39 PM Scenario: Click on a letter to pop up a modal, and display the letter in the modal.
style:
.modal{ position: absolute; left: 0; right: 0; top: 0; bottom: 0; margin: 600rpx 300rpx 0 300rpx; height: 140rpx; border-radius: 10rpx; line-height: 160rpx; color: #fff; font-size: 40pt; box-sizing: border-box; background-color: rgba(178, 178, 178, 0.7) }
The results are as follows:
padding-right: 23rpx;The result is as follows:
The above is the detailed content of Share a method to make the font size larger and not centered in the preface. For more information, please follow other related articles on the PHP Chinese website!

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

How to change the font in Outlook on Apple mobile phone

How to make vivo mobile phone font larger and where to set it

How to adjust the font, style, and size of Notepad in Windows 11

Detailed explanation of Win11 font installation method

How to change the font of Xiaomi 11_How to change the font of Xiaomi 11

Detailed explanation of how to deal with all font shadows in Win10 computer
