I have a BSP page that is basic HTML, no HTMLB tags or whatsoever. I have several <table>s on my page, and in some instances i want an individual cell to have a blinking red background. I have acheived this with CSS animation, and if i bring the page up from a text file IE, i get my table with a blinking red cell.
My problem is, i brought this into BSP, and now the blinking has stopped working.
below is how i have my styles set up:
@-moz-keyframes blinkred {
0% { background-color: red; }
50% { background-color: white; }
100% { background-color: red; }
}
@keyframes blinkred {
0% { background-color: red; }
50% { background-color: white; }
100% { background-color: red; }
}
.critical {
-webkit-animation: blinkred 1s infinite;
-moz-animation: blinkred 1s infinite;
animation: blinkred 1s infinite;
vertical-align: center;
}
in my page i set the class id of critical on the TD tag. This works in IE showing a text file, but not through BSP. any thoughts?
Request clarification before answering.
Just the browser compatibility issue, try it like below with meta tag
<%@page language="abap"%>
<%@extension name="htmlb" prefix="htmlb"%>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE11">
<style>
@-moz-keyframes blinkred {
0% { background-color: red; }
50% { background-color: white; }
100% { background-color: red; }
}
@keyframes blinkred {
0% { background-color: red; }
50% { background-color: white; }
100% { background-color: red; }
}
.critical {
-webkit-animation: blinkred 1s infinite;
-moz-animation: blinkred 1s infinite;
animation: blinkred 1s infinite;
vertical-align: center;
}
</style>
</head>
<body>
<input type="text" class="critical" value="TEST"/>
</body>
</html>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.