• Front end interview CSS series – mobile terminal 1px pixel problem


    Basic concepts Device pixel English device pixels, abbreviated asDPSometimes called “physical pixels”.Device pixel is a unit that we describe electronic products and other physical objects; For example, we say that the camera is 3000W pixels, the mobile phone is 100 million pixels, and the TV is 4K.When we describe the screen resolution of electronic equipment […]

  • Solution to the problem of adaptive height and width of CSS display table


    Definition and Usage The display attribute specifies the type of box that the element should generate. explain This attribute is used to define the type of display box generated by the element when the layout is established. For document types such as HTML, it is dangerous to use display carelessly, because it may violate the […]

  • Ajax self study exercise request and display


    As follows:request.jsp Copy codeThe code is as follows: <%@ page language=”java” contentType=”text/html; charset=ISO-8859-1″ pageEncoding=”ISO-8859-1″%> <!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”> <html> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″> <title>Insert title here</title> <script language=”javascript”><!– function GetXmlHttpObject(){     var xmlHttp = null;     try{         xmlHttp = new XMLHttpRequest();     }catch(e){         try{             xmlHttp = new ActiveXObject(“Msxml2.XMLHTTP”);         }catch(e){             xmlHttp = new ActiveXObject(“Microsoft.XMLHTTP”); […]

  • Ajax self study exercises no refresh submit and modify database data and display


    The request. JSP page contains two texts: rocarsid and ccrn.The MSG corresponding to the rocars table in the database_ ID and ccrn. Now to modify the value of ccrn on the interface, AJAX submits it to the response. JSP page, and calls the rocarsentiy. Updateccrn method to update the corresponding ccrn. Finally, there is no […]

  • LG is making foldable displays for apple? The folding screen iPhone may be released in 2023


    It is reported that Apple has commissioned LG display to develop a display for the foldable iPhone. Industry sources said Apple plans to launch a foldable iPhone with a 7-inch OLED display and apple pencil support in 2023. Foldable screen iPhone rumors continue In 2016, it was rumored that LG would mass produce foldable displays […]

  • 51 MCU assembler, temperature alarm project


    Temperature University MCU assembly works, project addresshttps://github.com/jan-bar/Temperature The project requiresprotuesRun, the following is the available download addressLink:https://pan.baidu.com/s/13gSiLTenkSV3a5niS3untQExtraction code: 7×48 The installation and cracking methods are as follows: 1. Download and unzip to get Proteus Pro 8.9 SP0 original program, patch cracking file and Chinese patch; Then open it directly with ProteusTemperature monitoring display . DSNFile, […]

  • The first time of raspberry pie


    Raspberry pie is something I’ve always wanted to use, but poverty limits me.I bought one this monthPandaI want to buy a display screen (as a secondary screen)Ning ZhiStatic capacitance keyboard, directly to tutYes, I’m using my peripherals in the code blog now. It’s great~But fate is always so magical, one of my classmates bought a […]

  • The idea of Vue to realize the display / hide layer (plus global click event)


    Problem Description: Click an icon to display the menu, and click any area outside the menu area to collapse the menu.What is elegant to solve these problems? Use Vue as much as possible to solve the problem Interact with native objects as little as possible The code is clean and easy to understand Solutions: The […]

  • CSS3 media queries and mobile device display size


    Recently in the company’s official website, we need to adapt to the mobile terminal, so we can refer to our previous knowledge and relevant information found on the Internet. Take a chestnut <link rel=”stylesheet” media=”screen and (max-width: 375px)” href=”solution_schoolNet.css” /> This media property value means that when the page width is less than or equal […]

  • How to change the color of the taskbar on the computer screen?


    Generally, the default color of the taskbar on the computer display screen is blue. Many friends sometimes want to change the color of the taskbar, and feel a little fresh. Today, I will share with you how to change the color of the taskbar on the display screen, hoping to help you! step Right click […]

  • How to show and not show hidden files in MAC (super simple)


    There are many ways to display hidden files in MAC. The simplest way is to input commands in MAC terminal. Show hidden files (pay attention to spaces and case) defaults write com.apple.finder AppleShowAllFiles -bool true or defaults write com.apple.finder AppleShowAllFiles YES Do not show hidden files: defaults write com.apple.finder AppleShowAllFiles -bool false or defaults write […]

  • Instance of swiping uiscrollview up and down to hide or show navigation bar in IOS development


    1、 Many apps have swiping uiscrollview up and down to hide or show the navigation bar. Here, I would like to talk about several methods that I think are useful: 1. After ios8, the system has a property hidebarsonshipe The Objective-C code is as follows self.navigationController.hidesBarsOnSwipe = YES; The swift code is as follows self.navigationController?.hidesBarsOnSwipe […]