I have this class , I need to change direction from rtl and ltr how can I do that using css ?
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/css/bootstrap.min.css" rel="stylesheet"/>
<div class="services" >
<div class="row" >
@foreach($services as $service)
<div class="col-xs-6 col-sm-3">
<div class="item">
<div class="img"><img src="{{$service->get_image->src}}" alt="">
</div>
<h3><a href="">{{$service->name}}</a></h3>
<div class="btns">
<a href="{{route('service.details',$service->id)}}" class="btn btn-xs btn-warning">{{trans('web.details')}} </a>
<a href="{{route('service.form',$service->id)}}" class="btn btn-xs btn-success">{{trans('web.login_service')}} </a>
</div>
</div>
</div>
@endforeach
</div>
</div>
2
Answers
Use the css direction property w3 schools
Or as class name
And in your stylesheet
u can use
direction:ltr
to change the direction, but if the problem for all the pagesu need to change HTML dir