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://www.codercto.com/soft/d/4040.html

Basics of Web Design

Basics of Web Design

Terry Felke-Morris / Addison-Wesley / 2013-1-28 / USD 98.40

Basics of Web Design: HTML5 and CSS3, 2e covers the basic concepts that web designers need to develop their skills: * Introductory Internet and Web concepts* Creating web pages with HTML5* Configurin......一起来看看 《Basics of Web Design》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

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

RGB CMYK 互转工具