CC + + uses cjson library to operate Json format files (create, insert, parse, modify, delete)

Why learn to parse Json files? Work needs! Recently, in the work project, there is a need to parse Json string, but I only use QT to parse Json, and the supervisor stipulates that C/C + + language should be used to parse. It is said that it is to facilitate transplantation to other projects for use There's no way but to bite the bullet and fi ...

Added by imperialized on Tue, 08 Mar 2022 03:49:53 +0200

Five steps for Ajax requests

catalogue Five steps for Ajax requests 1, Definition 1. What is Ajax 2. The difference between synchronous and asynchronous 3. How ajax works 2, Basic steps to implement AJAX 1. Create XMLHttpRequest object 2. Create HTTP request 3. Set the function to respond to the status change of HTTP request 4. Sets the statement that gets the da ...

Added by sonic_2k_uk on Tue, 08 Mar 2022 03:00:59 +0200

sass usage guide

Anyone who has studied CSS knows that it is not a programming language. You can use it to develop web page styles, but you can't program with it. In other words, CSS is basically a designer's tool, not a programmer's tool. In the eyes of programmers, CSS is a very troublesome thing. It has no variables and no conditional statements. It is just ...

Added by Matt Kindig on Fri, 18 Feb 2022 11:54:45 +0200

Sass selector function

In this section, let's take a look at the selector function in Sass, which is used to view and process selectors. Selector functions commonly used in Sass: functiondescribeis-superselector()Compare the matching ranges of the two selectors, and return true if they match; otherwise, return falseselector-append()Add one (or more) selectors after ...

Added by raister on Sat, 29 Jan 2022 19:07:34 +0200

SASS and Compass study notes and using SASS in vue

preface A simple blog about learning SASS 1, Install SASS SASS is developed based on Ruby language, so we need to use SASS first Install RubyAfter installation, we can install SASS. Open the command line window and enter gem install sassThen test whether it is installed. On the command line, enter sass -v to display the version num ...

Added by jalbey on Thu, 20 Jan 2022 00:40:33 +0200

Several schemes of topic switching in Web front end

Welcome to my official account, Talk, for my latest article:1, ForewordThis article will introduce several common schemes of topic switching in the Web front end, and the sample code is based on the React framework. show you the code!2, Scenario 1: predefined themesIn this scenario, two themes of light color and dark color are predefined, and t ...

Added by jackinva on Mon, 03 Jan 2022 18:26:38 +0200

SASS learning notes (with exercise code and environment configuration)

CSS preprocessor sass is a CSS preprocessor, which is basically consistent with css3 syntax. CSS preprocessor defines a new language. As a special programming language, it adds some new programming features to CSS and takes CSS as the target to generate files. Developers can use this language for coding. Sass is a CSS preprocessing language ...

Added by supermars on Sun, 02 Jan 2022 10:18:40 +0200

Random random number function in stylus

Write in front Like Sass, Stylus is an excellent CSS precompiled voice: expressive, dynamic and powerful CSS; When using Stylus to write the following effect, I need to use random numbers. However, when I read Stylus's documents, I did not find any available functions. After reading the new year's day of Stylus, I found that it supp ...

Added by Adam W on Mon, 25 May 2020 17:45:04 +0300

Build your own component library based on Vue

Address of the project: https://husilang.github.io/zm-ui Project reference: Build Vue component library VV-UI from scratch The original intention of the project is to learn how to encapsulate a Vue based UI component library, and record each step by the way, as well as the difficulties and experiences encountered in the process. Here is my pers ...

Added by shane0714 on Mon, 18 May 2020 16:59:56 +0300

vue project preparation and skeleton construction

First, ensure that these conditions are met:     Then install vue globally cnpm install -g vue-cli After installation, you can use vue -h to view the help documents of vue     vue -list view the templates supported by vue What we will use next is webback     vue init webpack mall The project name must be entered in English. I enter mal here ...

Added by phphead on Fri, 03 Apr 2020 18:20:20 +0300