单行文本溢出
1 | /* 块级元素才能用 overflow */ |
多行文本溢出
1 | /* 溢出隐藏 */ |
多行在除了 webkit 之外没找到很好的方便的省略号显示方法,可以选择直接隐藏好,然后在标签的 title 属性上绑定想要显示的文本。
瞄准方向!朝着那里奔去~
1 | /* 块级元素才能用 overflow */ |
1 | /* 溢出隐藏 */ |
多行在除了 webkit 之外没找到很好的方便的省略号显示方法,可以选择直接隐藏好,然后在标签的 title 属性上绑定想要显示的文本。
tag:
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: false
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true