css - sass :first-child selector not working -
i have element in ng-repeat
<div class="panel panel-default" ng-repeat="candidateinfo in acandidatedetails"> <div class="panel-heading"> <div class="row"> <div class="col-xs-1"> <a style="cursor:pointer"> {{candidateinfo.name}}</a> </div> </div> <div stop-watch time="xyz" name="candidateinfo.name" time-of-interview="candidateinfo.doi" class="panel-height" ></div> </div>
i need increase height of 1st panel div ;i gave class="panel-height"
the sass code gave
div .panel-height { &:first-child { height: 500px; } }
but not working,no idea im going wrong
any appreciated
Comments
Post a Comment