because px2rem is used, 1px will be converted into 0.00000xxxrem . Many browsers cannot recognize it, so they can only use 1Px instead of 1px . But when formatting a document, Vetur converts 1Px into 1px . Checked the documentation of the tw...
sometimes the background picture encoded by base64 is used, which makes a line of code too long. Can css wrap it? &.sort > span::after { background-image: url(data:image png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IArs...
problem description the css prefix generated by postcss-loader autoprefixer packaging is incomplete, only-ms-. related codes Please paste the code text below (do not replace the code with pictures) webpack.base.config.js rules: [ { ...
Note: is visual studio not visual studio code my project can run normally Line 42 in figure, I want vs to support the scss syntax inside the .vue file. What settings do I need to do? Thank you all ...
problem description compilation missing part of wrap the environmental background of the problems and what methods you have tried Environment: gulp, scss related codes Please paste the code text below (do not replace the code with pictures...
set style <style lang="scss" scoped> * { margin: 0; padding: 0; box-sizing: border-box; } < style> found that it is only valid for some elements. all valid after being changed to deep .editor deep { * { ...
problem description how does the Angular project configure to use sourceMap for style debugging? There is no way to establish a mapping relationship when you try to add a workspace in chrome. the environmental background in which the problem occurs ...
want to input this, continue to + 4 from 3 .test-3 {} .test-7 {} .test-11 {} .test-15 {} .test-19 {} .test-23 {} . it would be better if we could do this, but it feels a little more difficult .test-3 {} .test-4 {} .test-7 {} .test-8 {} ...
there is such a requirement: <ul> <li>1< li> <li>2< li> <li>3< li> <li>4< li> <li>5< li> <li>6< li> <li>7< li> <li>8< li&...
In the project development of weex, it is hoped that the Css preprocessor is generally used to write with Vue. Under the condition of web compilation, it can be compiled normally, but it cannot be compiled in the compilation environment of the mobile ter...
If the component does not provide an interface to set the width and height, what if you want to change the width and height yourself? the current method is to use important override reset in the scss file that initializes global variables, which is un...
$color_1:black; $color_2:red; $color_3:yellow; .txt_1{ color: $color_1; } .txt_2{ color: $color_2; } .txt_3{ color: $color_3; }...
the cause of the problem recently, when you set up a npm private server, it was no problem to download the project dependency package locally, but you will fail to install node-sass on the server. Although cnpm can be used to solve the problem, privat...
< H2 > questions such as questions < H2 > @import ".. base base"; iconfont @import ".. font iconfont-180726.scss"; iconfont as above, this scss file is a public package, and the page has its own separate scss ...
according to the previous understanding: introduce styles.scss into angular.json introduce variable.scss into styles.scss use in login.component.scss but an error is reported. How to use global variables without introducing variable.scss indiv...
at first, I configured postcss in webpack , which works, but if a background image is introduced in scss , such an error will be reported when packing. So I added publicPath to the postcss configuration, and found that it did not report an error...
different css files need to be referenced dynamically according to the data returned in the background. Considering that import cannot use variables, it is effective to use require, , but it is not very good , . how should I write it? ...
it is not wrong to add before each line ...
getThemeCluster(theme) { const tintColor = (color, tint) => { let red = parseInt(color.slice(0, 2), 16) let green = parseInt(color.slice(2, 4), 16) let blue = parseInt(color.slice(4, 6), 16) if (tint === 0) { w...
the project encounters the function that needs to modify the theme. V-if can be implemented, but it is very troublesome. Want to know how to change the variables color in scss through vue or js ...
router-link tag has a img tag, how to change the picture of img according to the activation state of router-link the code is as follows: ` < router-link to= " chat " > < router-link > because .router-link-active itself has a graded b...
problem description now there is a need to generate a permission table something like this. The data sent back from the backend is of a tree structure, with five layers in the deepest layer and one layer in the shallowest layer. now I use the rec...
such as title: after position:absolute is added, the text-align, width, and height of the row-level element span take effect. Why? Code: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> ...
this is someone else s example, and then I tried to write it in vue, but I couldn t write it. < html > <head> <meta charset="UTF-8"> <title>< title> <style type="text css"> ...
problem description now you want to customize the pop-up layer of an input box, hoping that the default input box will not be displayed when input gets focus the environmental background of the problems and what methods you have tried take the ini...