<div class="haveTips" tips='hello world'>Lorem ipsum dolor</div>
将气泡分为2个部分: |部分|样式| -\
- 主体的矩形: 使用伪元素,创建一个正方形,并将其启动到期望的位置。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
<link rel="stylesheet" href="style.css"> | |
</head> | |
<body> | |
<div>1</div> |
用flexbox实现圣杯布局,代码很直观,进行2次flex排列:
- 上中下:flex-direction=column
- 中间部分 flex-grow=1,占据所有剩余空间
- 上下部分 flex-grow=0(默认值,可以不设置)
- 左中右:flex-direction=row(默认值)
- 左边栏order=-1(负一),排在最左边
- 左右边栏基准尺寸 flex-basis=100px,flex-grow=0(默认值)
- 中间部分flex-grow=1,占据所有剩余空间
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Launch Program", |
- save agnoster-light.zsh-theme to
~/.oh-my-zsh/themes/
. - edit
ZSH_THEME
in~/.zshrc
toagnoster-light
- change the color theme of terminal to
solarized-light
- open a new terminal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# proxychains.conf VER 3.1 | |
# | |
# HTTP, SOCKS4, SOCKS5 tunneling proxifier with DNS. | |
# | |
# The option below identifies how the ProxyList is treated. | |
# only one option should be uncommented at time, | |
# otherwise the last appearing option will be accepted | |
# | |
#dynamic_chain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
background yes | |
Window | |
own_window_argb_visual yes | |
own_window_type default | |
own_window yes | |
own_window_transparent yes | |
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager |
NewerOlder