iis服务器助手广告广告
返回顶部
首页 > 资讯 > 前端开发 > JavaScript >CSS的预处理框架stylus是怎样的
  • 655
分享到

CSS的预处理框架stylus是怎样的

2024-04-02 19:04:59 655人浏览 薄情痞子
摘要

CSS的预处理框架stylus是怎样的,相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。stylus介绍是个什么鬼?对于开发来说,CSS的弱点在于

CSS的预处理框架stylus是怎样的,相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。

stylus介绍

是个什么鬼?对于开发来说,CSS的弱点在于静态化。我们需要一个真正能提高开发效率的工具,LESS, SASS都在这方面做了一些贡献。

Stylus 是一个CSS的预处理框架,2010年产生,来自node.js社区,主要用来给node项目进行CSS预处理支持,所以 Stylus 是一种新型语言,可以创建健壮的、动态的、富有表现力的CSS。比较年轻,其本质上做的事情与 SASS/LESS 等类似,应该是有很多借鉴,所以近似脚本的方式去写CSS代码。

Stylus默认使用 .styl 的作为文件扩展名,支持多样性的CSS语法。

Stylus功能上更为强壮,和js联系更加紧密。所以我选择 Stylus,SASS 玩儿过一段时间,主要是这玩意依赖ruby运行,所以我放弃使用了。
Stylus安装

全局安装,安装之前你需要你安装 nodejs 这个怎么安装搜去哦。

代码如下:

$ npm install stylus -g

这样就算是安装完Stylus了,也可以正常使用Stylus。

代码如下:

Usage: stylus [options] [command] [< in [> out]]
             [file|dir ...]
Commands:
 help <prop>     Opens help info for <prop> in
                 your default browser. (OS X only)
Options:</p> <p>  -u, --use <path>        Utilize the stylus plugin at <path>
 -i, --interactive       Start interactive REPL
 -w, --watch             Watch file(s) for changes and re-compile
 -o, --out <dir>         Output to <dir> when passing files
 -C, --css <src> [dest]  Convert CSS input to Stylus
 -I, --include <path>    Add <path> to lookup paths
 -c, --compress          Compress CSS output
 -d, --compare           Display input along with output
 -f, --firebug           Emits debug infos in the generated css that
                         can be used by the FireStylus Firebug plugin
 -l, --line-numbers      Emits comments in the generated CSS
                         indicating the corresponding Stylus line
 -V, --version           Display the version of Stylus
 -h, --help              Display help infORMation

生成CSS
命令行中

建立一个stylusExample/,再在里面建立 src 目录专门存放 stylus 文件,在里面建立 example.styl 文件。然后在 stylusExample 目录下面执行下面命令

代码如下:

$ stylus --compress src/

输出compiled src/example.css ,这个时候表示你生成成功了,带上--compress参数表示你生成压缩的CSS文件。

$ stylus --css css/example.css css/out.styl CSS转换成styl
$ stylus help box-shadow CSS属性的帮助
$ stylus --css test.css 输出基本名一致的.styl文件
grunt生成

grunt生成 就比较爽歪歪了,具体grunt怎么玩儿,俺写了个教程Grunt教程-前端自动化 可以学习以下。

stylusExample 目录下创建两个文件,这两个文件是grunt必备文件。

    package.JSON:用于保存项目元数据。
    Gruntfile.js:用于配置或定义任务、加载 Grunt 插件

package.json 内容

javascript

  1. {   

  2.   "name": "test",   

  3.   "version": "1.0.0",   

  4.   "description": "测试的例子",   

  5.   "repository": {   

  6.     "type": "git",   

  7.     "url": ""  

  8.   }   

  9. }  

然后安装必备插件,这些插件让stylus文件变更了自动生成,生成到相对应的文件目录中。如果报错你需要在命令行前面加上sudo,给它最大的执行权限。

npm install grunt --save-dev
npm install grunt-contrib-watch --save-dev :监视文件变动,做出相应动作。npm>>
npm install grunt-contrib-stylus --save-dev :stylus编写styl输出css npm>>

安装出现这样的警告 npm WARN package.json test@1.0.0 No README data 可以不理会,如果你看着不舒服,你需要在stylusExample目录下面建立一个 README.md 文件并输入内容。也可命令执行 echo "#stylus 学习" >> README.md

插件执行完毕之后 package.json 文件变成了这样样子滴。

JavaScript 

  1. {   

  2.   "name": "test",   

  3.   "version": "1.0.0",   

  4.   "description": "测试的例子",   

  5.   "repository": {   

  6.     "type": "git",   

  7.     "url": ""  

  8.   },   

  9.   "devDependencies": {   

  10.     "grunt": "^0.4.5",   

  11.     "grunt-contrib-stylus": "^0.21.0",   

  12.     "grunt-contrib-watch": "^0.6.1"  

  13.   }   

  14. }  

这个时候你需要使用这些插件儿完成你的任务需要在Gruntfile.js里面写你的执行任务。

JavaScript 

  1. /// 包装函数   

  2. module.exports = function(grunt) {   

  3.     // 任务配置,所有插件的配置信息   

  4.     grunt.initConfig({   

  5.         pkg: grunt.file.readJSON('package.json'),   

  6.         stylus:{   

  7.             build: {   

  8.                 options: {   

  9.                     linenos: false,   

  10.                     compress: true  

  11.                 },   

  12.                 files: [{   

  13.                     'css/index.css': ['src/index.styl']   

  14.                 }]   

  15.             }   

  16.         },   

  17.         // watch插件的配置信息   

  18.         watch: {   

  19.             another: {   

  20.                 files: ['css/*','src/*.styl'],   

  21.                 tasks: ['stylus'],   

  22.                 options: {   

  23.                     livereload: 1337   

  24.                 }   

  25.             }   

  26.         }   

  27.     });   

  28.     // 告诉grunt我们将使用插件   

  29.     grunt.loadNpmTasks('grunt-contrib-watch');   

  30.     grunt.loadNpmTasks('grunt-contrib-stylus');   

  31.     // 告诉grunt当我们在终端中输入grunt时需要做些什么   

  32.     grunt.reGISterTask('default', ['watch']);   

  33. };  

注意读懂上面的哦,目录高对哦,这些没有必要提醒哦,这个时候你可以好好耍一下stylus
Stylus应用

这个时候真正的开始玩耍了哦。
Try Stylus!

stylus

CSS

  1. body,html   

  2.     margin:0   

  3.     padding:0  

编译成

CSS

  1. body,   

  2. html {   

  3.   margin: 0;   

  4.   padding: 0;   

  5. }  

stylus : 强大的功能丰富的语言

CSS

  1. -pos(type, args)   

  2.   i = 0   

  3.   position: unquote(type)   

  4.   {args[i]}: args[i + 1] is a 'unit' ? args[i += 1] : 0   

  5.   {args[i += 1]}: args[i + 1] is a 'unit' ? args[i += 1] : 0   

  6.   

  7. absolute()   

  8.   -pos('absolute', arguments)   

  9.   

  10. fixed()   

  11.   -pos('fixed', arguments)   

  12.   

  13. #prompt  

  14.   absolute: top 150px left 5px  

  15.   width: 200px  

  16.   margin-left: -(@width / 2)   

  17.   

  18. #loGo  

  19.   fixed: top left  

编译成

CSS 

  1. #prompt {   

  2.   position: absolute;   

  3.   top: 150px;   

  4.   left: 5px;   

  5.   width: 200px;   

  6.   margin-left: -100px;   

  7. }   

  8. #logo {   

  9.   position: fixed;   

  10.   top: 0;   

  11.   left: 0;   

  12. }  

nibStylus插件

stylus

CSS

  1. @import 'nib'  

  2. body   

  3.   background: linear-gradient(20px top, white, black)   

编译成

CSS 

  1. body {   

  2.   background: -WEBkit-linear-gradient(20px top, #fff, #000);   

  3.   background: -moz-linear-gradient(20px top, #fff, #000);   

  4.   background: -o-linear-gradient(20px top, #fff, #000);   

  5.   background: -ms-linear-gradient(20px top, #fff, #000);   

  6.   background: linear-gradient(20px top, #fff, #000);   

  7. }  

Nesting(嵌套)

stylus

CSS

  1. header   

  2.     #logo  

  3.         border:1px solid red  

编译成

header #logo {
  border: 1px solid #f00;
}

Flexible syntax(灵活的用法)

stylus

CSS

  1. body   

  2.     font 14px/1.5 Helvetica, arial, sans-serif  

  3.     button   

  4.     button.button   

  5.     input[type='button']   

  6.     input[type='submit']   

  7.         border-radius 5px  

  8.   

  9. header    

  10.     #logo,div   

  11.         font-size:14px  

编译成

CSS

  1. body {   

  2.   font: 14px/1.5 Helvetica, arial, sans-serif;   

  3. }   

  4. body button,   

  5. body button.button,   

  6. body input[type='button'] {   

  7.   border-radius: 5px;   

  8. }   

  9. header #logo,   

  10. header div {   

  11.   font-size: 14px;   

  12. }  

Flexible &(灵活&)

stylus

CSS 

  1. ul   

  2.     li a   

  3.         display: block  

  4.         color: blue  

  5.         padding: 5px  

  6.         html.ie &   

  7.             padding: 6px  

  8.         &:hover   

  9.             color: red  

编译成

CSS

  1. ul li a {   

  2.   display: block;   

  3.   color: #00f;   

  4.   padding: 5px;   

  5. }   

  6. html.ie ul li a {   

  7.   padding: 6px;   

  8. }   

  9. ul li a:hover {   

  10.   color: #f00;   

  11. }  

Functions 方法
返回值

stylus

CSS 

  1. border-radius(val)   

  2.     -webkit-border-radius: val   

  3.     -moz-border-radius: val   

  4.     border-radius: val   

  5.   

  6. button    

  7.     border-radius(5px);  

编译成

CSS

  1. button {   

  2.   -webkit-border-radius: 5px;   

  3.   -moz-border-radius: 5px;   

  4.   border-radius: 5px;   

  5. }  

Transparent mixins

不带参数

stylus

CSS 

  1. border-radius()   

  2.     -webkit-border-radius: arguments   

  3.     -moz-border-radius: arguments   

  4.     border-radius: arguments   

  5.   

  6. button    

  7.     border-radius: 5px 10px;  

编译成

CSS 

  1. button {   

  2.   -webkit-border-radius: 5px 10px;   

  3.   -moz-border-radius: 5px 10px;   

  4.   border-radius: 5px 10px;   

  5. }  

默认参数

不带参数

stylus

CSS 

  1. add(a, b = a)   

  2.   a + b   

  3.   

  4. add(10, 5)   

  5. // => 15   

  6.   

  7. add(10)   

  8. // => 20  

函数体

通过内置unit()把单位都变成px, 因为赋值在每个参数上,因此,我们可以无视单位换算。

CSS Code复制内容到剪贴板

  1. add(a, b = a)   

  2.   a = unit(a, px)   

  3.   b = unit(b, px)   

  4.   a + b   

  5.   

  6. add(15%, 10deg)   

  7. // => 25  

多个返回值

通过内置unit()把单位都变成px, 因为赋值在每个参数上,因此,我们可以无视单位换算。

CSS 

  1. sizes()   

  2.  15px 10px  

  3.   

  4. sizes()[0]   

  5. // => 15px  

Variables(变量)
常用方法

CSS

  1. stylus   

  2.   

  3. font-size = 14px  

  4.   

  5. body   

  6.     font font-size Arial, sans-seri  

编译成

CSS 

  1. body {   

  2.   font: 14px Arial, sans-seri;   

  3. }  

变量放在属性中

stylus

CSS 

  1. #prompt  

  2.     position: absolute  

  3.     top: 150px  

  4.     left: 50%   

  5.     width: w = 200px  

  6.     margin-left: -(w / 2)  

编译成

CSS 

  1. #prompt {   

  2.   position: absolute;   

  3.   top: 150px;   

  4.   left: 50%;   

  5.   width: 200px;   

  6.   margin-left: -100px;   

  7. }  

块属性访问引用

stylus

CSS 

  1. #prompt  

  2.     position: absolute  

  3.     width: 200px  

  4.     margin-left: -(@width / 2)  

编译成

CSS 

  1. #prompt {   

  2.   position: absolute;   

  3.   width: 200px;   

  4.   margin-left: -100px;   

  5. }  

属性有条件地定义属性

stylus:指定z-index值为1,但是,只有在z-index之前未指定的时候才这样:

CSS

  1. position()   

  2.   position: arguments   

  3.   z-index: 1 unless @z-index  

  4.   

  5. #logo  

  6.   z-index: 20   

  7.   position: absolute  

  8.   

  9. #logo2  

  10.   position: absolute  

编译成

CSS 

  1. #logo {   

  2.   z-index: 20;   

  3.   position: absolute;   

  4. }   

  5. #logo2 {   

  6.   position: absolute;   

  7.   z-index: 1;   

  8. }  

向上冒泡

stylus:属性会“向上冒泡”查找堆栈直到被发现,或者返回null(如果属性搞不定)下面这个例子,@color被弄成了blue.

CSS 

  1. body   

  2.   color: red  

  3.   ul   

  4.     li   

  5.       color: blue  

  6.       a   

  7.         background-color: @color  

编译成

CSS 

  1. body {   

  2.   color: #f00;   

  3. }   

  4. body ul li {   

  5.   color: #00f;   

  6. }   

  7. body ul li a {   

  8.   background-color: #00f;   

  9. }  

Iteration(迭代)

stylus

CSS 

table   

    for row in 1 2 3 4 5   

       tr:nth-child({row})   

         height: 10px * row  

编译

C# 

  1. table tr:nth-child(1) {   

  2.   height: 10px;   

  3. }   

  4. table tr:nth-child(2) {   

  5.   height: 20px;   

  6. }   

  7. table tr:nth-child(3) {   

  8.   height: 30px;   

  9. }   

  10. table tr:nth-child(4) {   

  11.   height: 40px;   

  12. }   

  13. table tr:nth-child(5) {   

  14.   height: 50px;   

  15. }  

Interpolation(插值)

stylus

CSS 

  1. vendors = webkit moz o ms official   

  2. border-radius()   

  3.     for vendor in vendors   

  4.         if vendor == official   

  5.             border-radius: arguments   

  6.         else   

  7.             -{vendor}-border-radius: arguments   

  8. #content   

  9.     border-radius: 5px  

编译成

CSS 

  1. #content {   

  2.   -webkit-border-radius: 5px;   

  3.   -moz-border-radius: 5px;   

  4.   -o-border-radius: 5px;   

  5.   -ms-border-radius: 5px;   

  6.   border-radius: 5px;   

  7. }  

Operators(运算符)

运算符优先级
下表运算符优先级,从最高到最低:

.
 []
 ! ~ + -
 is defined
 ** * / %
 + -
 ... ..
 <= >= < >
 in
 == is != is not isnt
 is a
 && and || or
 ?:
 = := ?= += -= *= /= %=
 not
 if unless

@import

@import "reset.css"

当使用@import没有.css扩展,会被认为是Stylus片段(如:@import "mixins/border-radius")。

@import工作原理为:遍历目录队列,并检查任意目录中是否有该文件(类似node的require.paths)。该队列默认为单一路径,从filename选项的dirname衍生而来。 因此,如果你的文件名是/tmp/testing/stylus/main.styl,导入将显现为/tmp/testing/stylus/。

@import也支持索引形式。这意味着当你@import blueprint, 则会理解成blueprint.styl或blueprint/index.styl. 对于库而言,这很有用,既可以展示所有特征与功能,同时又能导入特征子集。
@font-face

stylus

CSS

  1. @font-face   

  2.   font-family Geo   

  3.   font-style normal  

  4.   src url(fonts/geo_sans_light/GensansLight.ttf)   

  5.   

  6. .ingeo   

  7.   font-family Geo  

编译成

CSS

  1. @font-face {   

  2.   font-family: Geo;   

  3.   font-style: normal;   

  4.   src: url("fonts/geo_sans_light/GensansLight.ttf");   

  5. }   

  6. .ingeo {   

  7.   font-family: Geo;   

  8. }  

@media

stylus

CSS 

  1. @media print  

  2.   #header  

  3.   #footer  

  4.     display none  

编译成

CSS

  1. @media print {   

  2.   #header,   

  3.   #footer {   

  4.     display: none;   

  5.   }   

  6. }   

  7.   

  8. @keyframes  

stylus

CSS

  1. @keyframes pulse   

  2.     0%   

  3.       background-color red  

  4.       transform scale(1.0) rotate(0deg)   

  5.     33%   

  6.       background-color blue  

  7.       -webkit-transform scale(1.1) rotate(-5deg)  

编译成

CSS 

  1. @-moz-keyframes pulse {   

  2.   0% {   

  3.     background-color: #f00;   

  4.     transform: scale(1) rotate(0deg);   

  5.   }   

  6.   33% {   

  7.     background-color: #00f;   

  8.     -webkit-transform: scale(1.1) rotate(-5deg);   

  9.   }   

  10. }   

  11. @-webkit-keyframes pulse {   

  12.   0% {   

  13.     background-color: #f00;   

  14.     transform: scale(1) rotate(0deg);   

  15.   }   

  16.   33% {   

  17.     background-color: #00f;   

  18.     -webkit-transform: scale(1.1) rotate(-5deg);   

  19.   }   

  20. }   

  21. @-o-keyframes pulse {   

  22.   0% {   

  23.     background-color: #f00;   

  24.     transform: scale(1) rotate(0deg);   

  25.   }   

  26.   33% {   

  27.     background-color: #00f;   

  28.     -webkit-transform: scale(1.1) rotate(-5deg);   

  29.   }   

  30. }   

  31. @keyframes pulse {   

  32.   0% {   

  33.     background-color: #f00;   

  34.     transform: scale(1) rotate(0deg);   

  35.   }   

  36.   33% {   

  37.     background-color: #00f;   

  38.     -webkit-transform: scale(1.1) rotate(-5deg);   

  39.   }   

  40. }  

CSS字面量(CSS Literal)

stylus

CSS 

  1. @css {   

  2.   body {   

  3.     font: 14px;   

  4.   }   

  5. }  

编译成

CSS 

  1. body {   

  2.   font: 14px;   

  3. }  

看完上述内容,你们掌握CSS的预处理框架stylus是怎样的的方法了吗?如果还想学到更多技能或想了解更多相关内容,欢迎关注编程网JavaScript频道,感谢各位的阅读!

--结束END--

本文标题: CSS的预处理框架stylus是怎样的

本文链接: https://www.lsjlt.com/news/81794.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
  • CSS的预处理框架stylus是怎样的
    CSS的预处理框架stylus是怎样的,相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。stylus介绍是个什么鬼?对于开发来说,CSS的弱点在于...
    99+
    2022-10-19
  • CSS的预编译器PostCSS是怎样的
    这篇文章给大家介绍CSS的预编译器PostCSS是怎样的,内容非常详细,感兴趣的小伙伴们可以参考借鉴,希望对大家能有所帮助。提到css预编译器(css preprocessor),你可能想到Sass、Les...
    99+
    2022-10-19
  • 10个加速CSS开发的框架分别是怎样的
    10个加速CSS开发的框架分别是怎样的,相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。CSS可以做很多事情,但开发者更习惯的是变量、常量和一般的...
    99+
    2022-10-19
  • 理想的Java Web开发框架是怎样的
    今天就跟大家聊聊有关理想的Java Web开发框架是怎样的,可能很多人都不太了解,为了让大家更加了解,小编给大家总结了以下内容,希望大家根据这篇文章可以有所收获。理想的Java Web开发框架,应该有一个好的IDE开发工具,架构设计清晰简单...
    99+
    2023-06-17
  • mysql 优化框架是怎样的
    本篇文章给大家分享的是有关mysql 优化框架是怎样的,小编觉得挺实用的,因此分享给大家学习,希望大家阅读完这篇文章后可以有所收获,话不多说,跟着小编一起来看看吧。 MySQL优...
    99+
    2022-10-18
  • css预处理器指的是什么
    这篇文章主要介绍css预处理器指的是什么,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!CSS预处理器是一种专门的编程语言,用来为CSS增加一些编程特性(CSS本身不是编程语言)。不需考虑浏览器兼容问题,因为CSS预处...
    99+
    2023-06-14
  • MyBatis的框架架构设计是怎么样的
    小编给大家分享一下MyBatis的框架架构设计是怎么样的,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!MyBatis的框架架构设...
    99+
    2022-10-19
  • Linq整体框架是怎么样的
    这篇文章主要介绍Linq整体框架是怎么样的,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!LINQ,语言集成查询,就是把一些查询操作集成到语言中(貌似是废话),比如查询关系数据库,而且提供一种一致的操作方式,不管最终的...
    99+
    2023-06-17
  • DKhadoop框架结构是怎么样的
    小编给大家分享一下DKhadoop框架结构是怎么样的,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!近年,随着互联网的发展特别是移动互联网的发展,数据的增长呈现出一...
    99+
    2023-06-02
  • 网站设计中合理架构CSS是怎样的
    这篇文章将为大家详细讲解有关网站设计中合理架构CSS是怎样的,文章内容质量较高,因此小编分享给大家做个参考,希望大家阅读完这篇文章后对相关知识有一定的了解。一、架构CSS在当前浏览器普遍支持的前提下,css...
    99+
    2022-10-19
  • JSR-299的框架Weld 1.1.5.Final是怎样的
    JSR-299的框架Weld 1.1.5.Final是怎样的,针对这个问题,这篇文章详细介绍了相对应的分析和解答,希望可以帮助更多想解决这个问题的小伙伴找到更简单易行的方法。Weld 1.1.5.Final 发布了,该版本包含一些小的 bu...
    99+
    2023-06-17
  • Python 的并发分布式框架是怎样的
    今天就跟大家聊聊有关Python 的并发分布式框架是怎样的,可能很多人都不太了解,为了让大家更加了解,小编给大家总结了以下内容,希望大家根据这篇文章可以有所收获。asyncoro 1.0 发布,该版本改进对...
    99+
    2022-10-19
  • JavaScript框架的趋势和前景是怎样的
    这期内容当中小编将会给大家带来有关JavaScript框架的趋势和前景是怎样的,文章内容丰富且以专业的角度为大家分析和叙述,阅读完这篇文章希望大家可以有所收获。每年,科技行业都在快速发展。基于受欢迎程度及其...
    99+
    2022-10-19
  • JDK1.6集合框架中6260652bug库是怎样的
    今天就跟大家聊聊有关JDK1.6集合框架中6260652bug库是怎样的,可能很多人都不太了解,为了让大家更加了解,小编给大家总结了以下内容,希望大家根据这篇文章可以有所收获。最近在看JDK的源码:CopyOnWriteArrayList....
    99+
    2023-05-30
    jdk bug
  • struts2框架的处理流程是什么
    Struts2框架的处理流程如下:1. 客户端发送请求到服务器。2. 服务器接收到请求后,根据web.xml中的配置找到Struts...
    99+
    2023-09-25
    struts2
  • 五个2015 年最佳HTML5 框架是怎样的
    五个2015 年最佳HTML5 框架是怎样的,很多新手对此不是很清楚,为了帮助大家解决这个难题,下面小编将为大家详细讲解,有这方面需求的人可以来学习下,希望你能有所收获。大多数的 web 开发者一直在用关键...
    99+
    2022-10-19
  • Spring核心框架体系结构是怎样的
    Spring核心框架体系结构是怎么样的,很多新手对此不是很清楚,为了帮助大家解决这个难题,下面小编将为大家详细讲解,有这方面需求的人可以来学习下,希望你能有所收获。很多人都在用spring开发java项目,...
    99+
    2022-10-19
  • Node.js后端框架设计构想是怎样的
    Node.js后端框架设计构想是怎样的,很多新手对此不是很清楚,为了帮助大家解决这个难题,下面小编将为大家详细讲解,有这方面需求的人可以来学习下,希望你能有所收获。后端的核心文件mass.js包含批量创建与...
    99+
    2022-10-19
  • Python + selenium 自动化测试框架是怎样的
    今天就跟大家聊聊有关Python + selenium 自动化测试框架是怎样的,可能很多人都不太了解,为了让大家更加了解,小编给大家总结了以下内容,希望大家根据这篇文章可以有所收获。自动化测试框架项目自动化测试...
    99+
    2023-06-22
  • Gin框架中参数绑定的实现是怎样的
    Gin框架中参数绑定的实现是怎样的,很多新手对此不是很清楚,为了帮助大家解决这个难题,下面小编将为大家详细讲解,有这方面需求的人可以来学习下,希望你能有所收获。为了能够更方便的获取请求相关参数,提高开发效率,我们可以基于请求的Content...
    99+
    2023-06-22
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作