html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html>
<head>
<title>Text rotate</title>
<script language="javascript" type="text/javascript"></script>
<script src="https://code.jquery.com/jquery-3.1.1.js"></script>
<link rel="stylesheet" href="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
</head>
<body>
<div class="right-text rw-words rw-words-1" id="text- rotate">
<span class="text-to-rotate">Flexible Terms</span>
<span class="text-to-rotate"> Fully Discretionary Capital</span>
<span class="text-to-rotate"> Fast Execution</span>
</div>
</body>
</html>
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
body {
margin-top: 300px;
}
.right-text {
font-size: 36px;
text-align: left;
color: #7ac051;
margin-left: 40px;
height: 70px;
position: relative;
line-height: 1;
}
.text-to-rotate {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-moz-box-align: center;
-ms-flex-align: center;
align-items: center;
top: 0;
bottom: 0;
font-weight: 700;
}
.rw-words-1 span {
position: absolute;
overflow: hidden;
opacity: 0;
Enter to Rename, Shift+Enter to Preview
js
js
1
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run