{"action":"opened","issue":{"url":"https://api.github.com/repos/qianduangaoshou/js-/issues/22","repository_url":"https://api.github.com/repos/qianduangaoshou/js-","labels_url":"https://api.github.com/repos/qianduangaoshou/js-/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/qianduangaoshou/js-/issues/22/comments","events_url":"https://api.github.com/repos/qianduangaoshou/js-/issues/22/events","html_url":"https://github.com/qianduangaoshou/js-/issues/22","id":262767649,"number":22,"title":"CSS 实现省略号的相关方法","user":{"login":"qianduangaoshou","id":25844786,"avatar_url":"https://avatars0.githubusercontent.com/u/25844786?v=4","gravatar_id":"","url":"https://api.github.com/users/qianduangaoshou","html_url":"https://github.com/qianduangaoshou","followers_url":"https://api.github.com/users/qianduangaoshou/followers","following_url":"https://api.github.com/users/qianduangaoshou/following{/other_user}","gists_url":"https://api.github.com/users/qianduangaoshou/gists{/gist_id}","starred_url":"https://api.github.com/users/qianduangaoshou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qianduangaoshou/subscriptions","organizations_url":"https://api.github.com/users/qianduangaoshou/orgs","repos_url":"https://api.github.com/users/qianduangaoshou/repos","events_url":"https://api.github.com/users/qianduangaoshou/events{/privacy}","received_events_url":"https://api.github.com/users/qianduangaoshou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-04T12:24:44Z","updated_at":"2017-10-04T12:24:44Z","closed_at":null,"author_association":"OWNER","body":"使用 CSS 实现省略号\r\n\r\n```\r\ntext-overflow: ellipsis;\r\nwhite-space: nowrap;\r\n overflow: hidden;\r\n```\r\n`text-overflow` 定义超出的内容是否使用省略号显示\r\n\r\n`white-space ： nowrap` 定义内容是否需要换行显示\r\n\r\n`overflow: hidden` 定义超出的部分隐藏掉 "}}
{"actor":{"display_login":"qianduangaoshou"}}