Tag:Effect

  • CSS to achieve simple 3D effect

    Time:2021-5-16

    CSS to achieve simple 3D effect 1. Development environment HTML, CSS2. Computer system Windows 10 professional edition3. In the process of development, we may use some simple 3D according to our needs. Friends who have known 3D all know that it is very troublesome to realize 3D effect. We need to learn a lot of […]

  • Swiftui Foundation: how to make pictures spread all over the screen

    Time:2021-5-12

    Suppose we have a picture that we want to spread all over the screen? Set the background first import SwiftUI struct ContentView: View { var body: some View { VStack{ CircleImage(imageName: “lilly”) .frame(width:160,height:160) .padding(.top,89) .padding(.bottom,20) } .background( Image(“lotus”) .resizable() .scaledToFill() ) } } The effect is not satisfactory, not spread out Then fill the container […]

  • Hand in hand to teach you how to pick up a girl

    Time:2021-5-9

    Ha ha ha ha!!! When I said that when I was writing this article, my sister had caught up with me, ha ha ha!!! In fact, it was written a year ago. My sister has been chasing it for a long time. At that time, I used it to express myself. Without saying a word, […]

  • Create menu image hover animation effects

    Time:2021-5-9

    Original address: creating a menu image animation on hover Original author: Mary Lou View demo Download source code stayCodropsWe like to try interesting hover effects. As early as2018We explored a set of interesting hover animations to get links. We call it “image display hover effect”, which shows how to make the image appear as beautiful […]

  • ellipsize_end textview

    Time:2021-5-6

    Most of the time, the text display is limited, there is a Maxine, and then you are required to intercept at the end of the last line, and the end of the last line is… (XXX text…), so just set the ellipsize in your XML_ Just end,howeverSometimes the demand is strange, system controls can not […]

  • Swoole learning: how to create a server with swoole

    Time:2021-5-6

    How to create a server using spool Create TCP server $serv = new swoole_server(“127.0.0.1”, 9501); Create UDP server $serv = new swoole_server(“127.0.0.1”, 9502, SWOOLE_PROCESS, SWOOLE_SOCK_UDP); Creating web server $http = new swoole_http_server(“0.0.0.0”, 9501); Create websocket server $ws = new swoole_websocket_server(“0.0.0.0”, 9502); be careful 1、swoole_ http_ Server inherits from spool_ server 2、swoole_ websocket_ Server inherits from […]

  • Making full screen scrolling slide with CSS transition

    Time:2021-5-5

    Recently, I saw some page effects on the Internet, which can be used to switch pages later. I’ll make one myself Thinking process: CSS set class face set transition transform: Translate x (100%) attribute set DOM attribute animation effect Monitor page mouse sliding events, keyboard click events, mouse click events Browser compatibility test, effect event […]

  • CSS creative ideas – Part 2 / 2

    Time:2021-5-4

    background this paperContinuedTo continue our creative conception of CSS. Because there are some cases without code, in line with the attitude of learning, I need to make up one by one, which is also convenient for you to see. When updating, it may be updated step by step according to the section. There’s not much […]

  • CSS3 animation

    Time:2021-5-4

    Transition Transition property: Specifies the name of the CSS property that sets the transition effect. transition-property:width ,height; All means all the attributes. The default value is Transition duration: specifies how many seconds or milliseconds it takes to complete the transition effect. transition-duration The unit of time required is s sec MS MS 1s = = […]

  • Swiftui master’s Road: view component reuse list paging generics

    Time:2021-5-3

    Swiftui advanced view component reuse list paging generics I have written more than 80 articles about swiftui, and finally have a preliminary understanding of swiftui. So I wonder if I can also write an open source project, so that my code can be reused. target Realize automatic paging for different data structures Can customize the […]

  • Calling WiFi interface by uni app

    Time:2021-4-30

    Wechat applet condition rendering In the applet app. Add in JSON You need to get the location information first “permission”: { “scope.userLocation”: { “Desc”: “your location information will be used to display the effect of applet location interface” } }, To get WiFi information Wx. Startwifi ({// initialize WiFi) success: function(res) { console.log(res.errMsg + “11654”); […]

  • [flutter 2-9] flutter handle tutorial UI layout and widget — flexible layout control

    Time:2021-4-28

    Author: VladSource Vlad (official account: fulade_ me) Flexible Flexible can help the child controls of row, column and flex fill the parent controls. It is flexible in usage and has weight properties. Similar to flexible controls are expanded.Let’s see firstFlexibleConstructor for const Flexible({ /// key Key key, //The default value of flex is 1 this.flex […]