the problem is that when the page shrinks, the size of the word does not seem to change, and when the page shrinks to a certain proportion, the word will be squeezed below. How to solve this problem?
the problem is that when the page shrinks, the size of the word does not seem to change, and when the page shrinks to a certain proportion, the word will be squeezed below. How to solve this problem?
solve with I don't know what you mean by the reduction of the web page here. If it is the reduction of the browser window, you can take a look at the responsive layout and load different css (that is, font size) according to different screen sizes. If you reduce the size of the page, you can take a look at em and rem . The text content in the tag is basically scaled as the page zooms. I read it wrong. When the page shrinks to a certain proportion, the text displayed on the original line becomes two lines, which is also normal. If you don't want to turn one line into a two-line display and don't think it looks good, you can hide the display out of range. use relative units A, rem (font size) generally set to the full screen height of 10, rem (VH equal to 1% width, wh equivalent to 1% height, etc. rem
or vw
,
Previous: Why is the view of vue not updated?
I got a set of data, which is to choose the type of question. How can I tell if I have chosen the right one answera: "Olympic Games " answerb: "Asian Games " answerc: "Paralympic Games " answerd: "University Games " id: "1772 " question: "f...
do the gods have plug-ins for uploading attachments in the mobile version that can also be uploaded more than one? ...
what is the current level of support for vw,vh layouts in mobile browsers? ...
the traditional position: fixed; is relative to the window, and there are two main points of the problem . relative to the specified parent element fixed positioning encountered the following problems in mobile development. The green box is the...
want to explain how to make table different colors? is not different. is . <table> <tr> <td width="100">a< td> <td><a>< td> < tr> <tr> ...
<template> <div style="height: 100%;"> <mt-header title=""> <mt-button icon="back" slot="left" v-tap="{methods: switchView, view: Post }">< mt-button> &l...
there is a problem in the process of development these two days. The device pixel ratio of the computer developed by the company is 1.25 . assume the following HTML and CSS: this does not happen on computers where devicePixelRatio is 1 . ...
as shown in the figure, there are four sort buttons in a table header, and the requirements are as follows: the first click on descending order, the second click on ascending order, and the third click on the default display (no sorting); I would li...
shouldn t vue use vue-router? Why can it only be put into devDependencies (development dependency)? ...
use series [I]-graph.data [I] .name can be displayed normally, but do not want to use name. returned data format: [ { "mName":"", "depth":2, "name":"", ...
modify the markdown file under the ant-design-pro-site site and use the relative path to introduce the picture in the markdowm file. attachment: the picture was originally introduced using the http path. <img src=". images 1.jpg" > ...
< script > (function($, doc) { $(".save").click(function(){ alert(1) }) $.init(); $.ready(function() { ** * * ; * @param {Object} obj * @param {String} para...
Icon shows the red part. Choose how to write the effect in css ....
o ...
directly above the picture, how to take this top value ...
as shown in the figure, v-for generates input, in Vue. When the add button is clicked, the cursor automatically focuses on the latest input, window and automatically moves to the appropriate location! ...
The height of td is stretched by the height of other td, so the work schedule cannot be centered vertically. ...
how to make the content of table not be centered vertically? you can set valign= "top " in html, then how to set it in element The table is centered vertically when it is stretched out, and the working hours are aligned with the one at 8 o clock . ...
div1 {display: none} div2 {display: none} div3 {display: none} div4 {display: none} div5 {display: none} setTimeout (function) { var obj=document.getElementById ( "div1 "); obj.style.display= "inline "; }, 2000) how to display with settimeout...
this is a face-to-face question for Xiaomi. There is only one div, in html. How can you draw countless concentric circles only using css? the only way I can think of is to use pseudo elements (before and after),) and then position them, but only three ...