Skip to content
项目

关于

简约的手绘风格 HTML/CSS 主题

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
+1
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Doodle CSS is a simple hand drawn HTML/CSS theme.

Doodle CSS screenshot

Demo and more HTML elements.

How to use it

The main stylesheet is doodle.css.

<link rel="stylesheet" href="doodle.css">

Then add the class doodle to the top level element you want to apply the theme to:

<body class="doodle">...</body>

Load the Short Stack web font:

<style>
@import url('https://fonts.googleapis.com/css2?family=Short+Stack&display=swap');
body {
  font-family: 'Short Stack', cursive;
}
</style>

There's also an npm installable version:

npm install doodle.css

The npm package can be imported with:

import 'doodle.css/doodle.css'

There are are bunch of other vectors you can use in doodles.svg.

You can also put a doodle box around anything using the class .doodle .border or .doodle-border.

Who

By Chris McCormick (@mccrmx).

See the demo for thanks and resources used.

探索相关项目

加载中…