I need to make a form with css and I can not. E rotation does not work in IE11

0

Talk to people, how are you? (I hope and I hope so)

I'm starting a new personal project , and I'm getting fucked up with two questions:

1 - The menu set is rotating, while the central logo stops and only runs in the hover function, but unfortunately the menu buttons do not want to run in IE11, I tried in Windows 7 and 10. In other browsers it's normal .

2 - I wanted to make a banner at the top without using image, just changing the shape of the div's, as usually the staff makes rectangles, in the last case I use png, but I'm preferring to just use div with background. Here is an image of what I want:

Herearemycodes:

@charset "utf-8";

body {
	margin: 0 auto;
	width: 92%;
	max-width: 960px;
	background: url('../images/bg.png');
	background-attachment: fixed;
}
.menutopo {
	width: 100%;
	height: 200px;
	margin: 0 auto;
}
.menu {
	position: relative;
	left: 50%;
	top: 50%;
	width: 240px;
	height: 240px;
	margin-left:-120px;
	margin-top:-120px;
}
.faixas {
	position: relative;
	width: 100%;
	height: 240px;
	background: #BB0F12;
}
.marquee{
	display: block;
	position: fixed;
	overflow: hidden;
	width: 240px;
	height: 240px;
	animation: scroll 10s linear infinite;
	-webkit-animation:spin 20s linear infinite;
    -moz-animation:spin 20s linear infinite;
    animation:spin 20s linear infinite;
	-webkit-animation-direction: reverse; /* Chrome, Safari, Opera */
    animation-direction: reverse;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(-360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(-360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(-360deg); transform:rotate(-360deg); } }
.marquee:hover {
    animation-play-state: paused;
}
.menuse {
	position: fixed;
	background: url('../images/botaoprincipal01120.png') no-repeat;
	width: 120px;
	height: 120px;
}
.menuse:hover {
	background: url('../images/botaoprincipal01hover120.png') no-repeat;
}
.menusd {
	position: fixed;
	margin-left: 120px;
	background: url('../images/botaoprincipal02120.png') no-repeat;
	width: 120px;
	height: 120px;
}
.menusd:hover {
	background: url('../images/botaoprincipal02hover120.png') no-repeat;
}
.menuie {
	margin-top: 120px;
	position: fixed;
	background: url('../images/botaoprincipal03120.png') no-repeat;
	width: 120px;
	height: 120px;
}
.menuie:hover {
	background: url('../images/botaoprincipal03hover120.png') no-repeat;
}
.menuid {
	position: fixed;
	margin-top: 120px;
	margin-left: 120px;
	background: url('../images/botaoprincipal04120.png') no-repeat;
	width: 120px;
	height: 120px;
}
.menuid:hover {
	background: url('../images/botaoprincipal04hover120.png') no-repeat;
}
.menulogo {
	float: none;
	position: fixed;
	width: 160px;
	height: 160px;
	margin-top: 40px;
	margin-left: 40px;
	border-radius: 50%;
	background: url('../images/logoprincipal160.png') no-repeat;
	transition: 0.70s;
  -webkit-transition: 0.70s;
  -moz-transition: 0.70s;
  -ms-transition: 0.70s;
  -o-transition: 0.70s;
}
.menulogo:hover {
	transition: 0.70s;
  -webkit-transition: 0.70s;
  -moz-transition: 0.70s;
  -ms-transition: 0.70s;
  -o-transition: 0.70s;
  -webkit-transform: rotate(360deg);
  -moz-transform: rotate(360deg);
  -o-transform: rotate(360deg);
  -ms-transform: rotate(360deg);
  transform: rotate(360deg);
}
.clear { clear: both; }
.lateralesquerda {
	position: absolute;
	float: left;
	color: white;
	background-color: black;
	width: 150px;
	margin-top: 150px;
	border: solid;
}
.lateraldireita {
	position: relative;
	float: right;
	color: white;
	background-color: black;
	width: 150px;
	margin-top: 150px;
	border: solid;
}

.banner {
	width: 600px;
	color: white;
	float:right;
	position:fixed;
	text-align: center;
}
<!doctype html>
<html lang="pt-BR">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Virtual Serviços - TESTE</title>
<link rel="apple-touch-icon" href="images/favicon.png" />
<link rel="SHORTCUT ICON" href="images/favicon.ico"/>
<link href="css/graf.css" rel="stylesheet" type="text/css">
</head>
<body>
<br>
<div class="menutopo">
	<div class="faixas">
		<div class="menu">
			<div class="marquee">
				<a href="../index.html"><div class="menuse"></div></a>
				<a href="../index.html"><div class="menusd"></div></a>
				<a href="../index.html"><div class="menuie"></div></a>
				<a href="../index.html"><div class="menuid"></div></a>
			</div> <!--marquee-->
			<a href="../index.html"><div class="menulogo"></div></a>
		</div>
	</div> <!--menu-->
</div> <!--menutopo-->
</body>
</html>

If you want, I left a RAR file to download, if necessary, in my domain: Files for download

    
asked by anonymous 17.12.2018 / 20:15

1 answer

0

EDIT: I preferred to rephrase the answer completely after analyzing the direct code in the link quoted in question

Looking at the code I noticed some errors. First your @keyframes was a problem of seeing prefix vc put -webkt- inside a @keyfremes that should not have it

@keyframes spin { 100% { -webkit-transform: rotate(-360deg); transform:rotate(-360deg); } }

Then, it seems that IE was unable to rotate the element that has p osition: fixed; so I changed by position: absolute; and it was perfect without any problems with the animation or the positioning.

After that it was the turn to do the track at the top. To do this I used a radial-gradient with the color of the transparent medium, and fixed value of "ray" so as not to have problems in smaller screens.

See the image running in IE11: D

Hereistheresultfortheimageabove:

OBS:NothinginHTML

@charset "utf-8";

body {
	margin: 0 auto;
	width: 92%;
	max-width: 960px;
	/* background: url('../images/bg.png'); */
    background: linear-gradient(45deg, black, silver);
	background-attachment: fixed;
}
.menutopo {
	width: 100%;
	height: 200px;
	margin: 0 auto;
}
.menu {
	position: relative;
	left: 50%;
	top: 50%;
	width: 240px;
	height: 240px;
	margin-left:-120px;
	margin-top:-120px;
}
.faixas {
	position: relative;
	width: 100%;
	height: 240px;
	/* background: #BB0F12; */
  overflow: hidden;
}
.faixas::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background-image: radial-gradient(circle at center 100%, transparent 140px, red 140px);
}
.marquee{
	display: block;
	/* position: fixed; */
  border-radius: 50%;
	overflow: hidden;
	width: 240px;
	height: 240px;
	animation: scroll 10s linear infinite;
	-webkit-animation:spin 20s linear infinite;
    -moz-animation:spin 20s linear infinite;
    animation:spin 20s linear infinite;
	-webkit-animation-direction: reverse; /* Chrome, Safari, Opera */
    animation-direction: reverse;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(-360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(-360deg); } }
@keyframes spin { 100% { transform:rotate(-360deg); } }
.marquee:hover {
    animation-play-state: paused;
}
.menuse {
	position: absolute;
	background: url(https://placecage.com/120/120) no-repeat;
	width: 120px;
	height: 120px;
}
.menuse:hover {
	background: url('../images/botaoprincipal01hover120.png') no-repeat;
}
.menusd {
	position: absolute;
	margin-left: 120px;
	background: blue;
	width: 120px;
	height: 120px;
}
.menusd:hover {
	background: url('../images/botaoprincipal02hover120.png') no-repeat;
}
.menuie {
	margin-top: 120px;
	position: absolute;
	background: yellow;
	width: 120px;
	height: 120px;
}
.menuie:hover {
	background: url('../images/botaoprincipal03hover120.png') no-repeat;
}
.menuid {
	position: absolute;
	margin-top: 120px;
	margin-left: 120px;
	background: green;
	width: 120px;
	height: 120px;
}
.menuid:hover {
	background: url('../images/botaoprincipal04hover120.png') no-repeat;
}
.menulogo {
	float: none;
	position: fixed;
	width: 160px;
	height: 160px;
	margin-top: 40px;
	margin-left: 40px;
	border-radius: 50%;
	background: url('../images/logoprincipal160.png') no-repeat;
	transition: 0.70s;
  -webkit-transition: 0.70s;
  -moz-transition: 0.70s;
  -ms-transition: 0.70s;
  -o-transition: 0.70s;
}
.menulogo:hover {
	transition: 0.70s;
  -webkit-transition: 0.70s;
  -moz-transition: 0.70s;
  -ms-transition: 0.70s;
  -o-transition: 0.70s;
  -webkit-transform: rotate(360deg);
  -moz-transform: rotate(360deg);
  -o-transform: rotate(360deg);
  -ms-transform: rotate(360deg);
  transform: rotate(360deg);
}
.clear { clear: both; }
.lateralesquerda {
	position: absolute;
	float: left;
	color: white;
	background-color: black;
	width: 150px;
	margin-top: 150px;
	border: solid;
}
.lateraldireita {
	position: relative;
	float: right;
	color: white;
	background-color: black;
	width: 150px;
	margin-top: 150px;
	border: solid;
}

.banner {
	width: 600px;
	color: white;
	float:right;
	position:fixed;
	text-align: center;
}
<div class="menutopo">
	<div class="faixas">
		<div class="menu">
			<div class="marquee">
				<a href="../index.html"><div class="menuse"></div></a>
				<a href="../index.html"><div class="menusd"></div></a>
				<a href="../index.html"><div class="menuie"></div></a>
				<a href="../index.html"><div class="menuid"></div></a>
			</div> <!--marquee-->
			<a href="../index.html"><div class="menulogo"></div></a>
		</div>
	</div> <!--menu-->
</div> <!--menutopo-->
    
17.12.2018 / 20:28