Code Monkey home page Code Monkey logo

web-manual's Introduction

Hi there 👋

  • 🔭 I’m currently working on TS & Web-Graphics ..
  • 🌱 I’m currently learning English, Swift..
  • 🤔 I’m looking for help for remote..

web-manual's People

Contributors

germxu avatar

Stargazers

 avatar

Watchers

 avatar  avatar

web-manual's Issues

安卓字体大小自适应显示 fontBoosting on Android

功能描述

webkit给移动端浏览器提供的一个特性的Text Autosizer特性,也叫做Font Boosting-字体提升、Font Inflation-字体膨胀。

作用

在手机上浏览网页时,很可能因为原始页面宽度较大,在手机屏幕上缩小后就看不清其中的文字了。而 Font Boosting 特性在这时会自动将其中的文字变大,可以让用户方便阅读页面中的文本。

触发条件

  • 在默认视口980的情况下,页面会在屏幕中缩小显示,并且文本比较多的情况下,会触发Text Autosizer;
  • 设置页面在视口中显示时缩小显示,并且文本比较多的情况下,会触发Text Autosizer;
  • 如果有以上情况,但是文本的量不都多,也是不会触发此问题的,请知晓;

问题解决方案

  • 在发生此问题的标签上设置高度;
  • 在发生此问题的标签上设置max-height

引文
引文
谷歌浏览器的font boosting[Text Autosizer]

时间戳API

苏宁

{
    sysTime2: "2021-03-29 21:38:26",
    sysTime1: "20210329213826"
}

淘宝

{
  api: "mtop.common.getTimestamp",
  v: "*",
  ret: ["SUCCESS::接口调用成功"],
  data: {
    t: "1617023122019",
  },
}

授时中心

1617025697767 //返回时间戳

如何扭曲一块区域

在Mac上程序最小化有个效果, 中文翻译叫 神奇效果, 是一个窗口通过向一个角压缩变形, 直至最小化到dock, 通过CSS 3 目前是没有可能制作扭曲的曲线边缘, 只能通过canvas或者svg容器来扭曲变形, Next term ---> magic download

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.