Skip to main content

· One min read

less小知识

  • 关于 ~ 的小知识
  • 在less中写法:
.test {
width: calc(100px - 3px);
}
  • 编译后的css:
.test {
width: 97px; // 编译之后计算出来结果
}
  • 在less中添加 ~
.test {
width: ~"calc(100px - 3px)";
}
  • css结果:
.test {
width: calc(100px - 3px); // 让浏览器去计算结果
}

· One min read
Sébastien Lorber
Yangshun Tay

Docusaurus blogging features are powered by the blog plugin.

Simply add Markdown files (or folders) to the blog directory.

Regular blog authors can be added to authors.yml.

The blog post date can be extracted from filenames, such as:

  • 2019-05-30-welcome.md
  • 2019-05-30-welcome/index.md

A blog post folder can be convenient to co-locate blog post images:

Docusaurus Plushie

The blog supports tags as well!

And if you don't want a blog: just delete this directory, and use blog: false in your Docusaurus config.

toogle me
hello world
Docusaurus green and Facebook blue are my favorite colors.

I can write Markdown alongside my JSX!

· One min read
Gao Wei

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet