From d1c6976181fd70f705b32d52fcb85e199dbe0ca8 Mon Sep 17 00:00:00 2001 From: kyle <704334497@qq.com> Date: Tue, 18 Jan 2022 11:07:02 +0800 Subject: [PATCH] fix #1000 --- README.md | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/README.md b/README.md index 6bc2a9f..0860c7b 100644 --- a/README.md +++ b/README.md @@ -524,20 +524,6 @@ In JSX, you can use `style` like this: // Renders as:
``` -Note that the style module does not remove style attributes if they -are removed as properties from the style object. To remove a style, -you should instead set it to the empty string. - -```mjs -h( - "div", - { - style: { position: shouldFollow ? "fixed" : "" }, - }, - "I, I follow, I follow you" -); -``` - #### Custom properties (CSS variables) CSS custom properties (aka CSS variables) are supported, they must be prefixed