Latest Posts

  1. Mr.serenader
    • css
    • material design

    Implementing Material Design's Ripple Click Effect with CSS

    This article explains how to implement a click ripple effect using styles and scripts: first obtain the mouse coordinates, then use a circular element's scaling and opacity changes to simulate a brief ripple animation spreading from the click point.

  2. Mr.serenader
    • javascript
    • frontend
    • promise

    A First Look at JavaScript Promises

    The article reviews asynchronous events and callbacks before the advent of Promises, explains their states, chaining, error handling, and queue usage, and compares common libraries, optimization approaches, and ecosystem practices.

  3. Mr.serenader
    • css

    CSS Specificity and a Detailed Explanation of CSS Rule Priority

    The article reviews CSS selector types and Specificity weights, explains how browsers calculate priority and determine an element's final style, as well as the override relationships among conflicting rules.

  4. Mr.serenader
    • idle
    • Android
    • phone

    Making Reasonable Use of Idle Android Devices

    The article introduces repurposing idle Android phones and tablets as proxy routers, web services, Linux virtual machines, and intranet FTP, among other uses, emphasizing low power consumption, quietness, and portability, and provides specific software and configuration ideas.

  5. Mr.serenader
    • javascript
    • this

    Understanding the use of this in JavaScript and call(apply)

    This article sorts out what this refers to in object methods, ordinary functions, and constructor functions in JavaScript, and explains how call and apply change the execution context.