Span is an inline element. It has no width or height.
You could turn it into a block-level element, then it will accept your dimension directives.
span.product__specfield_8_arrow
{
display: block; /* or inline-block */
}
span.product__specfield_8_arrow
{
display: block; /* or inline-block */
}
import React , { useEffect , useRef } from "react" import { StaticImage } from "gatsby-plugin-image" impor...
Không có nhận xét nào:
Đăng nhận xét