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

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -