这是li元素的范围
这是a元素的范围
这是我的代码部分
li的class为editor-tools
.markdown {
.tools {
border: $markdownBorder;
border-radius: $markdownRadius $markdownRadius 0px 0px;
}
.preview, {
padding: 0px 20px;
}
.editor {
padding: 0px;
textarea {
padding: 10px 20px;
width: 100%;
height: 100%;
border: none;
border-radius: 0px 0px 0px $markdownRadius;
resize: none;
outline: none;
background-color: #fff;
font-size: 16px;
}
}
ul {
list-style: none;
margin: 0px;
padding: 0px;
width: auto;
overflow: hidden;
a {
margin: 0px 10px 0px 0px;
padding: 8px;
font-size: 14px;
color: $markdownColor;
text-decoration: none;
}
a:hover {
color: #20B2AA;
background-color: #ddd;
}
.editor-tools {
margin: 0px;
padding: 0px;
float: left;
}
.editor-mode {
margin: 0px;
padding: 0px;
float: right;
}
}
}