Tag:height

  • CSS method to fill the remaining space of the parent container with the height of the child element Div

    Time:2021-10-17

    1. Use floating mode design sketch: The code is as follows: (note that the height of. Content is 500px, that is, the height of the parent element, but the floating element is above. Content and covers. Content. Change the. NAV background style to background color: RGBA (0,0,0,0.1); the effect can be observed) <!DOCTYPE html> <html> […]

  • Balanced tree

    Time:2021-10-16

    1、 DefinitionBalanced tree is the combination of search tree and heapA balanced tree is an empty tree or the height difference between its left and right subtrees is no more than 1, and both the left and right subtrees are balanced binary trees.Difference between balanced tree and binary search tree: the balanced tree itself is […]

  • The problem that react does not work when using window.onscroll

    Time:2021-10-15

    In the process of rolling loading, it is found that window.onsrcoll does not work in the react functional component, nor does it work in the life cycle. After several twists and turns, it is finally completed 1. useEffect(()=> { //1. Bind the scroll element and add the scroll event, which will be removed when the […]

  • Fluent news client – 09 details page display, sharing, remote real machine debugging

    Time:2021-10-12

    Station B video https://www.bilibili.com/vide…https://www.bilibili.com/vide… Objectives of this section Comparison of technical solutions on detail page Load web content Automatic height calculation Clear advertisements and recommendations Intercept request Loading status display Sharing plug-ins Remote Android device debugging Detail display Technical scheme selection Analysis tool UI Automator view file location /Users/ducafecat/Library/Android/sdk/tools/bin/uiautomatorviewer Taobao scheme Mixed mode Headlines Mixed […]

  • Discussion on the principle and solution of pop-up window rolling penetration

    Time:2021-10-7

    Original is not easy. If you need to reprint, please [contact the author] or [sign the author and indicate the source of the article] What is it? First explain what isRolling penetration: A pop-up window slides out of the page. When we touch the screen with our fingers, we will find that the content under […]

  • Several common data structures

    Time:2021-9-18

    Binary tree The characteristic of binary tree is that the key value of the left subtree is less than that of the root, and the key value of the right subtree is greater than that of the root However, in some scenarios, binary trees will have such a structureThe binary tree of this structure is […]

  • Android studio full screen immersive transparent status bar effect

    Time:2021-9-5

    How? 1.) first, realize full screen The first one: inherit topic specific topic For Android API 19 and above, you can use the topics related to * * * *. Transparentdecor * * * with corresponding translucency effect. Theme.holo.noactionbar.transparentdecor and theme.holo.light.noactionbar.transparentdecor are newly added, so you need to create a values-v19 file folder and create […]

  • Tree of JavaScript data structure (binary search tree, balanced binary tree, red black tree)

    Time:2021-8-29

    A non sequential data structure — tree. A tree is an abstract model of hierarchical data. A tree structure contains a series of parent-child nodes. Each node has a parent node (except the first node at the top) and zero or more child nodes. The node at the top of the tree is called the […]

  • Android recycleview split line colored egg

    Time:2021-8-28

    I have collected some learning materials, including a lot of learning, interview, middle and high-level fluuter materials, and a lot of video explanations. If any students want to know more, please see the end of the article for details. We also welcome all the great gods to install X. First of all, the problem How […]

  • Android smart refresh framework smartrefreshlayout

    Time:2021-8-28

    Android smart refresh framework smartrefreshlayout Smartrefreshlayout is a “smart” or “smart” drop-down refresh layout. Because of its “intelligence”, it supports not only all views, but also multi-layer nested view structures. It inherits from ViewGroup instead of FrameLayout or LinearLayout, which improves performance.Add dependencyImplementation ‘com. Scwang. Smart: refresh layout kernel: 2.0.3’ / / the core must […]

  • Adaptation of WebView to client

    Time:2021-8-27

    Started at:My blog preface There are often problems in our app that there will be a lot of blank space at the bottom of the displayed web page, and the speed of displaying the web page will take a second or more. Width acquisition problem The problem with IOS and Android is that there is […]

  • Bao, learn the aspect ratio in CSS and let H5 development miss you more!

    Time:2021-8-24

    Author: Ahmad shadeTranslator: front end XiaozhiSource: shaded Dream, dry goods, wechat search[move to the world]Pay attention to this dish washing wisdom who is still washing dishes in the early morning. This article GitHub https://github.com/qq449245884/xiaozhi It has been included. There are complete test sites, materials and my series of articles for the interview of front-line large […]