two groups of div, have the same size, width and height, one is flaot:left type, and the other is inline-block type. What is the difference between these two groups? (the width is as big as the height, not the aliasing phenomenon of float)
two groups of div, have the same size, width and height, one is flaot:left type, and the other is inline-block type. What is the difference between these two groups? (the width is as big as the height, not the aliasing phenomenon of float)
1.inline-block has box gaps;
2.inline-block is not fully supported in ie67, only display:inline elements are supported;
only thinks of so many
there are the following differences that I can think of:
Previous: What pre-knowledge is required before learning netty?
Next: A problem with the creation of a new project by github desktop
the psd given by the artist is 1080 to 1920. How to convert width, height and font when making a page? ...
give elem to bind the click event via addEventListener . What does the browser do when the mouse clicks on the elem element? ...
input after setting the type= "number " property, a error prompt appears after the mouse is hovered. I don t need this prompt ...
as the title div{ flex:1; width:0; } What is the role of width:0 in ? ...
any screen on ios can be adaptive, but it is not compatible on android. I tested it with Huawei P10. The width and height of view is the same as that of view on iphone5, and both are 320px ....
...
how much does the mobile support grid layout in css? has anyone ever used this property in actual production? ...
question: after downloading the project in the way of Alibaba iconfont, introduce the iconfont.css file (other font files are in the same folder). Neither unicode nor font class can be displayed in the project, but other browsers display normally. Is it ...
the base style of bootstrap is applied globally throughout the site. embed a piece of content generated by a rich text editor in a div on the page that does not want to be affected by the base style of ...
The page uses rem to make a responsive layout. One problem is that although resize modifies the font size of the html tag, the width and height of the page content (controlled by rem) remain unchanged, but open the console and select a tag. That tag ...
at present, the page is laid out in rem, how to implement large, medium and small fonts? ...
how to ensure that the design draft is restored under different resolution screens (a similar background management project on the PC side) learn the following ways: viewport forces zooming (which may blur the display) @ media (responsive, it se...
how can this trapezoidal typesetting be realized in the figure above? ...
I set 50px to the html tag in the mobile project to set the Reme values of other elements at this size. But some places need a third-party plug-in, the third-party plug-in to the html element is set to 16px, in the actual project there is a conflict, acc...
The redrawing cost of table is higher than that of div elements, so modern layouts have abandoned table layouts unless tables are needed. question: so is this redrawing the same cost as using a table layout directly? .father{ display:table; } .fat...
is going to be modified based on a set of websites written in css3 to support IE8. The css file is relatively large, and it takes time to modify it manually. Is there such a tool that can check the input css file and output the style code that css2 does ...
is there any way to prevent the child element from being compressed when the parent element reduces the width when the child element is not set to fix width and height (stretched by padding)? setting height and width: I am a child element No high w...
as shown in the picture, many chat bubbles have a small triangle pointing to the avatar. If it is a text bubble, you can use a small triangle of the same color as the chat bubble. But what about the picture? How to fill this small triangle with the b...
look at instagram source code, and find that their class names are very interesting. They seem to be generated by tools. They feel easy to use. They are simply named the Gospel of fear. What tools are used to implement ? ...
in the project I am working on, the design draft given by ui is based on a fixed 1440px resolution. If it is greater or less than this resolution, such as 1200px or 1800px, it will cause the page layout to be ugly. how do you solve this problem? ...