SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <template web>
  2.   <div class="profile">
  3.     <div class="profile__arround">
  4.       <img src="~/assets/images/rafael.jpg" alt="foto perfil">
  5.     </div>
  6.   </div>
  7. </template>
  8.  
  9. <template native>
  10.   <Page>
  11.     <ActionBar>
  12.       <StackLayout>
  13.         <Image style="width: 100" src="~/assets/images/logo.png" />
  14.       </StackLayout>
  15.     </ActionBar>
  16.     <StackLayout>
  17.       <FlexboxLayout class="profile" justifyContent="center">
  18.         <StackLayout class="profile__arround">
  19.           <Image src="~/assets/images/rafael.jpg" />
  20.         </StackLayout>
  21.       </FlexboxLayout>
  22.     </StackLayout>
  23.   </Page>
  24. </template>
  25.  
  26. <style lang="scss" scoped web>
  27.   .profile{
  28.     &__arround{
  29.       width: 100px;
  30.       height: 100px;
  31.       border-radius: 50%;
  32.       overflow: hidden;
  33.       margin-top: 50px;
  34.     }
  35.  
  36.     img{
  37.       width: 100%;
  38.     }
  39.   }
  40. </style>
  41.  
  42.  
  43. <style lang="scss" scoped native>
  44.   .profile{
  45.     &__arround{
  46.       width: 100;
  47.       height: 100;
  48.       border-radius: 50%;
  49.       overflow: hidden;
  50.       margin-top: 50;
  51.     }
  52.  
  53.     Image{
  54.       width: 100%;
  55.     }
  56.   }
  57. </style>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top