Skip to content
项目

关于

一个用于 HTML 编程语言的框架。

网站与应用开发

这些数字如何统计

实测星标增长

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

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

README.md

原文

🤠 div.js 🤠

HTML, the web's most popular programming language, is bloated.

As of 2021, there are at least 10 HTML elements. Why? Why waste time use semantic when div do trick?

Div.js revolutionizes the web, meeting developers where they are at by focusing on their favorite element: <div>

Captain Crunch Oops All Berries cereal box meme, with a HTML div element instead of the word "berries".

Usage

Simply add the is attribute to your divs to imbue them with free functionality, semantics, and accessibility.

<div is="h1">Hello world!</div>
<div is="p">This is a <div is="b">bold</div> paragraph.</div>
<div is="ol">
  <div is="li">This is a list item.</div>
  <div is="li">This is a list item.</div>
  <div is="li">This is a list item.</div>
</div>

Div.js supports many handcrafted default element types. Find a full list here.

Testimonials

Twitter dialogue. @wonkingclass: I've been waiting for this. @will_martian: Thought so. Mind if I use this testimonial in marketing materials? @wonkingclass: Only if you credit me

探索相关项目

加载中…