Created
September 3, 2019 09:12
-
-
Save azusa-tomita/a479335b5e23b23b89bcf3bd14bb2118 to your computer and use it in GitHub Desktop.
// source https://jsbin.com/qahidab
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="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title></title> | |
<style id="jsbin-css"> | |
* { | |
margin: 0; | |
padding: 0; | |
border: 0; | |
} | |
body { | |
font: 30px sans-serif; | |
} | |
rt{ | |
display:inline-block; | |
text-indent:-9999px; | |
width:1px; | |
height:1px; | |
margin:-1px; | |
overflow:hidden; | |
-ms-user-select:none; | |
-webkit-user-select:none; | |
user-select:none; | |
} | |
</style> | |
</head> | |
<body> | |
<h1>記号に任意の読み上げテキストを指定する</h1> | |
<p> | |
30° | |
15′ | |
25″ | |
</p> | |
<p> | |
30<ruby><rb aria-hidden="true">°</rb><rp>(</rp><rt>ど</rt><rp>)</rp></ruby> | |
15<ruby><rb aria-hidden="true">′</rb><rp>(</rp><rt>ふん</rt><rp>)</rp></ruby> | |
25<ruby><rb aria-hidden="true">″</rb><rp>(</rp><rt>びょう</rt><rp>)</rp></ruby> | |
</p> | |
<p> | |
30<ruby><rb aria-hidden="true">°</rb><rp>(</rp><rt>じかん</rt><rp>)</rp></ruby> | |
15<ruby><rb aria-hidden="true">′</rb><rp>(</rp><rt>ふん</rt><rp>)</rp></ruby> | |
25<ruby><rb aria-hidden="true">″</rb><rp>(</rp><rt>びょう</rt><rp>)</rp></ruby> | |
</p> | |
<script id="jsbin-source-css" type="text/css">* { | |
margin: 0; | |
padding: 0; | |
border: 0; | |
} | |
body { | |
font: 30px sans-serif; | |
} | |
rt{ | |
display:inline-block; | |
text-indent:-9999px; | |
width:1px; | |
height:1px; | |
margin:-1px; | |
overflow:hidden; | |
-ms-user-select:none; | |
-webkit-user-select:none; | |
user-select:none; | |
} | |
</script> | |
</body> | |
</html> |
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
* { | |
margin: 0; | |
padding: 0; | |
border: 0; | |
} | |
body { | |
font: 30px sans-serif; | |
} | |
rt{ | |
display:inline-block; | |
text-indent:-9999px; | |
width:1px; | |
height:1px; | |
margin:-1px; | |
overflow:hidden; | |
-ms-user-select:none; | |
-webkit-user-select:none; | |
user-select:none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment