Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!doctype html>
<html>
<head>
  <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
  <title>paper-input</title>
  <script src="https://www.polymer-project.org/components/platform/platform.js"></script>
  <link href="https://www.polymer-project.org/components/font-roboto/roboto.html" rel="import">
  <link href="https://www.polymer-project.org/components/paper-input/paper-input.html" rel="import">
  <style>
    body {
      padding: 0;
    }
    section {
      font-family: Roboto, 'Helvetica Neue', Helvetica, Arial;
      padding: 36px 20%;
    }
    
    paper-input::shadow .floated-label {
      text-align: right;
    }
    
    paper-input::shadow .input-body {
      direction: rtl;
    }
    
    paper-input::shadow .cursor {
      right: 0;
      
    }
    paper-input::shadow .cursor[invisible] {
      transform: translate3d(-6em,0,0) scale3d(50,1,1);
    }
    paper-input::shadow #labelText {
      transform-origin: 100% 0%;
    }
    
  </style>
</head>
<body unresolved>
  
<paper-input floatingLabel label="I'm RTL"></paper-input>
  
</body>
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers