Tag:font size

  • Python crawls through the data of a down jacket and uses visualization to help you choose your favorite clothes

    Time:2021-9-12

    The text and pictures of this article come from the network, only for learning and communication, and do not have any commercial purpose. If you have any questions, please contact us in time for handling. The following article is attached to the study of Python by brother J Novices and Xiaobai who have just come […]

  • How to adjust MAC font size, especially 10.9

    Time:2021-8-29

    How to adjust the MAC font size? Many friends who use the Mac OS system don’t know how to adjust the font size. The following small series will bring you a tutorial on setting the MAC font size. If you need it, let’s go and have a look. OS X system cannot adjust font size, […]

  • Analysis of uilabel class

    Time:2021-8-28

    For the properties and methods of a label’s uilabel class.First, there are two methods to initialize a labelone object: //First initialize the object, and then set the position and size of labelone on the parent view when necessary UILabel * labelOne = [[UILabel alloc]init]; //UILabel * labelOne = [UILabel new]; The same is to initialize […]

  • CSS units

    Time:2021-8-10

    CSS unit 1. px What is it? The most commonly used unit, absolute unit Usage: .test-box{ font-size: 14px; } Disadvantages: It is a fixed value. Once set, it cannot be changed to adapt to the page size 2. rem: What is it? It is a new relative unit in CSS3. It refers to the unit […]

  • Changing fonts on Linux terminals

    Time:2021-8-4

    1 Overview The terminal here refers toF1-F6/F2-F7Enter the pure command terminal. The font can be modified throughsetfontCommand. 2 view font You can find a directory byconsolefontsTo determine where fonts are located on the local machine: find / -name consolefonts -type d updatedb locate consolefonts For example, the author’sManjarobe located/usr/share/kbd/consolefonts,CentOS8Then located/usr/lib/kbd/consolefonts, while others may be located […]

  • Flutter is a good bilingual reading tool

    Time:2021-6-21

    Flutter is a good bilingual reading tool A few days ago, when I was reading English documents, I needed to switch between the original text and the translation, so I came up with an idea, can I display the original text and the translation on one page at the same time? Why not read the […]

  • Use jcanvascript plug-in to simplify canvas operation to draw interface

    Time:2021-5-3

    Directly on the code, copy to the file, run directly can see the effect; Plug in address jcanvascript:http://jcscript.com <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <title>jcanvas</title> </head> <script></script> <body> <canvas height=”568″ width=”320″ id=”canvas_1″ style=”border:1px solid #ccc;width:320px;height:568px”></canvas> </body> <script> var h = 1; var img=new Image(); img.src=”./head.png” jc.start(‘canvas_1′); jc.rect(0,0,320*h,130*h,’#ff5d5e’,true); JC. Text (“personal center”, 160 * h, […]

  • What’s the difference between EM and PX? what’s the difference between em, px and rem ?

    Time:2021-4-21

    What is the difference between EM, PX and REM? PX: absolute unit. The page is displayed in precise pixels. Em: relative unit. The benchmark is the font size of the parent node. If the font size is defined by itself, it is calculated by itself (the default font of the browser is 16px). 1em is […]

  • JavaScript — case demonstration: Click to have surprise

    Time:2021-4-19

    1、 Mode one Several pages click once to switch once Steps: 1. Build box1, set the position of box1’s width and height background color, its internal text line height, font size and font color 2. Set box1 click event Code demonstration: Document .box{ width: 200px; height: 200px; background-color: red; margin: auto; text-align: center; line-height: 200px; […]

  • Some common font size font units and line height in CSS

    Time:2021-4-18

    PX (pixel) pixel I believe you are not unfamiliar with the term pixel. Next, let’s introduce some small knowledge points of this unit Pixel is composed of two words: picture and element. Pixel is not an absolute unit of natural length. For example, the same size of 1px has different “natural length” on different devices. […]

  • Dancing widget with shackles on the tip of the needle

    Time:2021-3-9

    Since IOS 10, Apple has made a big change to the widget, many people have developed their own widget. There are also many online tutorials to show you how to quickly develop a widget. My article will not repeat the simple creation of extension, adding certificate and so on. We need to take a deeper […]

  • Let’s talk about the difference between REM and EM and how to do mobile terminal adaptation

    Time:2021-2-21

    What’s the difference between REM and em remIt’s based onhtmlThe font size of the element, andemIt is determined according to the size of the element using it, which is generally called relative length unit. It is calculated according to the font size of its parent element16px = 1em If the parent elementfont-size:16px, child elementmargin:0.8em. So […]