ä¸æãã«ããæ¹æ³ ä¸æãã¯ããã©ã«ãã§ãã. ä½ãããªãã¦ãä¸æãã«ãªãã¾ã. ä»åã®ãµã³ãã«ã§ã¯ä»ã® CSS ã«åãããããã«ãã㦠ä¸è¨ã®ãããªã³ã¼ãã追å ãã¦ãã¾ã. #box1 span { position: absolute; top: 0; } ä¸å¤®æãã«ããæ¹æ³ ã¾ãã¯ä¸å¤®æãã«ãããããã¹ãã®è¦ªè¦ç´ ã« position: relative; ãé©å¿ãã¾ã. .box { float: left; position: relative; margin: 10px; width: 25%; height: 90%; border: 1px solid black; background-color: white; font-size: 2rem; line-height: 2rem; } ããã¦ä¸å¤®æãã«ãããããã¹ãã® position ããããã£ã« absolute ãè¨
{{#tags}}- {{label}}
{{/tags}}