# We have isMD - do we have isXS or isSM?

**URL:** <https://forum.ionicframework.com/t/we-have-ismd-do-we-have-isxs-or-issm/100012>\
**Category:** ionic-v3\
**Created:** [July 28, 2017, 6:25pm UTC](https://forum.ionicframework.com/t/we-have-ismd-do-we-have-isxs-or-issm/100012 "2017-07-28T18:25:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arlevi](https://avatars.discourse-cdn.com/v4/letter/a/6a8cbe/32.png) [@arlevi](https://forum.ionicframework.com/u/arlevi)\
**Post date:** [July 28, 2017, 6:25pm UTC](https://forum.ionicframework.com/t/we-have-ismd-do-we-have-isxs-or-issm/100012/1 "2017-07-28T18:25:50Z")

</div>

I’m trying to test the following code in various devices to make sure I’m implementing the correct CSS that works in all devices

**Problem:**  
Using landscape on iPhone & iPad - it seems that isMD is `!False -> True` in both cases

```auto
<button ion-fab [attr.mini]="! isMD ? '' : null">
      <ion-icon name="md-lock"></ion-icon>
</button>

```

I would expect to have difference variables for iPad ( which is much bigger ) and for iPhone  
But there’s no `isXS` or `isSM` so I can test those as well.

How can I get the affect of - on iPhone - place a `mini` Fab, and on `iPad` - regular Fab ?
