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...
(ts => js) == (less => css ) Can be understood this way ...
the picture of the PC page is blurry on the macbookPro retina screen. How do you solve this problem? the design draft PC given by the sister of UI design is 500x500; the web page also shows that there is no problem on 500x500 window but it will past...
the project project is as follows, zhoulujun webpack4-vue2-project-template and then find out, mounted () { this.$ref.demo.clientWidth; gets the parent node width this.$ref.demo.clientHeight; value is 0 this.$nextTick (() = > { this.$ref.demo...
my less dependency is installed when I configure react with webpack4. this is webpack.config.js use: [ { loader: MiniCssExtractPlugin.loader, options: { publicPath: .. } }, { loader: "css...
there are two sibling elements An and B (the checkbox button implemented by svg) in svg, where the opacity attribute value in An is 1 and the opacity in B is 0.5. Want to fill and stroke different colors according to the change of opacity when the two el...
as shown in the picture, I want the last line to disappear. Last-child doesn t work I checked because line is not in the same parent element. Is there a better solution ? .line { height: 30px; border-left: 1px dashed -sharpccc; margin-le...
@import .. .. themes default.less ; webpack@import themes default.less ; ...
as shown in the figure, it reported an error and could not find the file, but there is clearly this file in node_module....
problem description want Amap s js api to get the latitude and longitude of the four corners of the current visual area the environmental background of the problems and what methods you have tried at present, we have not found this method. We can...
configuration of webpack ask to tell me what went wrong, or did I write something wrong with my configuration? ...
<style> p { text-indent: 2em; *2*66px* font-size: 16px; } .div { font-size: 66px; } < style> <div class="div"> ...
problem description the taro project created WeChat Mini Programs, downloaded antd-mobile and babel-plugin-import,react-dom along with the official documents, and configured plugins, but could not reference the styles in the UI library. Why? the env...
I have tried the following useless --root { --Colors: red; } .container { color: var(--Colors); } is there another way to set variables? ...
for example, I use scss to define a style class: .w{x}px: { width:{X}px; } write code directly <div class="w20px"> <div class="w25px"> <div class="w30px"> <div class="w40px"> and ...
there is a background image in css, which is introduced as follows uses an alias as the path, but it still exists in the form of an alias after packaging and is not converted, but if it is packaged in this format, the image cannot be obtained normal...
main.js index.less package.json ...
I created a .vue file in vscode, and then built less code into the vue file: <style lang="less" scoped> .floor-ad-words{ padding: 0 10px 10px 10px; font-size: 12px; background-color: -sharpfff; .text{ margin: 0; line-he...
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...
is to contact the sales button, mainly without the shadow gradient above, it looks like a floating effect, how to write it? ...