-
How to shift a rotated element?
I have two elements, a parent element and a child element. the parent element rotates N degrees. then I want to move the positioning of the child element, which moves relative to the parent element. how do I calculate the offset value. Let it move re...
-
The page of 1920 design draft, how to solve the problem that the font becomes bigger under the low split screen such as 1366? .
as the title, the pc page is based on the 1920 design draft. Now it is found that the font is very large under the low split screen such as 1366. How to solve this problem? .. you don t need to adapt to the mobile end, you just need to look better on ...
-
How to solve the problem of border blur?
The effect of the 1px bottom border set by is as follows
is confused. It will be clear after I adjust the screen by 200%. What s the problem?
...
-
Project enabled css_modules, write keyframes invalid do not know why?
the project generated by dva uses less to write styles and wants to write an animation, but it doesn t work. The code is as follows
.box{
width: 100px;
height: 100px;
background-color: red;
transform: translateX(100px);
}
:global{
.over{
...
-
Is there any way to display the H5 page horizontally in the case of the user's vertical screen, and all the content in it is also displayed horizontally, just like in the game?
when watching the js game engine, there is a situation of automatic horizontal screen and automatic vertical screen. When the mobile end develops a mobile page similar to a game (there is no need to use the game engine), the game page design is likely to...
-
How to hide more than a specified row and show expand all
want to achieve the effect in the following figure:
there are multiple tags, each of which is of different length, and they are arranged freely. When more than two lines are arranged, the rest are automatically hidden, and the expand button is displa...
-
Ask for advice on CSS layout problems, adaptive picture overlap location
as shown in the image above, the outer square red box is a background image with a 100% adaptive width, and the middle red circle is a coverage area. Because the background image is responsive, the range of the red circle will change. How can I cover...
-
I need to implement such a function in vue. Click on the svg circle to generate a new svg and connect it with a line.
problem description
I need to implement such a function, click on the svg circle to generate a new svg and connect it with a line
the environmental background of the problems and what methods you have tried
1. Click to generate a new circle, how t...
-
Ask for advice on the question of CSS3 filter, how to change the color of the picture?
the above picture is colored by default. How to specify a different color through the filter? I tried that it can only be overall gray, can I make it green, red, coffee, and other colors? Wait online, ask for advice, kneel down and thank Demo please ...
-
How does the elastic box layout align the last row of the list to the left?
that is, the item of the first few lines is aligned at both ends, the white space in the middle is automatically assigned, and the last line is aligned to the left, and the spacing allocation is the same as the automatic allocation above. justify-co...
-
Vue uses the waterfall stream written by js to display the picture, which causes the first picture to overlap when scrolling, showing it first, and then calculating the picture display.
<template>
<div id="box">
<div class="item" v-for= list in ceoPhoto >
<img :src="list.picUrl" alt="">
< div>
< div>
< template>
<...
-
The animation effects of components influence each other
problem description
wrote two unrelated components, but both components used animate to write animation, and then when uploaded to a private library, they were packaged with webpack. There was a project to reference these two components, and it was fo...
-
Echarts dynamic rendering Tree structure + Ring Graph
the picture is ugly, as shown in the figure, showing a horizontal tree, the node is a ring, each node has different data, and the node information is dynamically rendered through the button below the ring. check the echarts official website and do n...
-
How does animationend monitor one of two animations?
problem description
my two CSS animation animations are written in shorthand once, the animated move ends in 5s, and the animated go is innumerable loops. what I want to achieve is that when the animation move ends, it stays at the last frame, and th...
-
About this page, why is the left mouse button disabled?
when developing with webpack3 + vue, there is a strange problem: the left mouse button of the page is disabled! even if you can t click button and input, you can t select text.
Evil page: https: benleie.github.io pag.
how to solve this? Seek ide...
-
Vue traverses data to generate table?
background data are as follows:
bankDto: [
0: {bankName: "", bankCode: "20000001", sName: ""}
1: {bankName: "", bankCode: "20000007", sName: ""}
2: {bankName: "", bank...
-
The style problem of full selection of ios hybird text
our project needs to have copy function in a hybird APP, project, but the full selection button in the long press pop-up menu of the system will select all the text and white space on the page and add a highlighted background to these areas, hoping to a...
-
How to connect the two different Bezier curve animations of css3?
now I m going to do a dynamic effect, which is connected by two css3 animations. There is a square A. the first stage is uniform motion, and the second stage is deceleration to the target point. The expectation is that after the uniform motion, the squ...
-
Is there any uncertainty in the range of values represented by max-width and min-width in CSS3's media query?
when trying to query using css3 media, it is found that both max-width and min-width have uncertainty when expressing a range depending on a given value.
refer to W3C official document , there is a paragraph:
Most media features accept optional m...
-
Can the text on a floating element show red when the background is white and white when the background is red?
want to use the mix-blend-mode:difference implementation in ccs3 to be red on a white background, but black on a red background. only this effect is close to ...