Skip to content

Instantly share code, notes, and snippets.

View yinxianwei's full-sized avatar

yinxianwei yinxianwei

  • ShangHai
View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>drag</title>
<style>
.drag {
background-color: red;
@yinxianwei
yinxianwei / flex.wxss
Last active February 11, 2018 06:51
小程序 flex
.row {
display: flex;
flex-direction: row;
word-break: break-all;
}
.col {
display: flex;
flex-direction: column;
}
@yinxianwei
yinxianwei / print.html
Last active March 1, 2017 11:04
热敏打印机字号大小无法调整问题
<!DOCTYPE HTML>
<html>
<head>
<meta name="renderer" content="webkit">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>美问</title>
<style type="text/css">
@media screen {
#printSection {
@yinxianwei
yinxianwei / Using SSH over the HTTPS port
Last active November 16, 2016 03:43
Unknown SSL protocal error in connection to github.com:443
To set this in your ssh config, edit the file at ~/.ssh/config, and add this section:
Host github.com
Hostname ssh.github.com
Port 443