CSS 子类 css-layout

码农软件 · 软件分类 · CSS框架 · 2019-04-21 06:59:34

软件介绍

css-layout 用纯 JavaScript 做了 CSS 的一个子类,并且翻译成了 C 和 Java,之所以这么做是因为要实现一个小的独立的库去布局元素。它完全不依赖 DOM。

示例代码:

computeLayout(
  {style: {padding: 50}, children: [
    {style: {padding: 10, alignSelf: 'stretch'}}
  ]}
);// =>{width: 120, height: 120, top: 0, left: 0, children: [
  {width: 20, height: 20, top: 50, left: 50}
]}

本文地址:https://codercto.com/soft/d/4040.html

The Sovereign Individual

The Sovereign Individual

James Dale Davidson、William Rees-Mogg / Free Press / 1999-08-26 / USD 16.00

Two renowned investment advisors and authors of the bestseller The Great Reckoning bring to light both currents of disaster and the potential for prosperity and renewal in the face of radical changes ......一起来看看 《The Sovereign Individual》 这本书的介绍吧!

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具