设置class选择器后没效果怎么办?

HTML代码片段:

    <div class="row">
            <a class="inner a1 shadow">
                <div class="type circle bg-type-new">新品</div>
                <img src="">
                <h2 class="title"> Pro</h2>
                <p class="desc">骁龙865</p>
                <p class="price">
                    <strong>4999</strong><span>元起</span>
                </p>
            </a>
            </div>

CSS代码片断:
.price{
color: #ff6700;
line-height: 30px;
position: absolute;
right: 48px;
bottom: 25px;
margin: 0;

}
但是price类没效果,且运行后在网页上右击检查找不到类price?
请问是哪里出错了?怎么改?

图片说明
看起来代码本身是起作用的。

html代码呢?是直接class="price"提示找不到?