JSFiddle - React, Tailwind, and code Playground

by Radioactive

HTML

<div class="top-servers">










		
			<div class="top" style="position:relative;">
			<div style="position:absolute;padding:0;margin:2px;z-index:1;opacity:0.8;display:block;width:14px;bottom:50px;left:2px;"><img src="http://cs-boost.net/template/default/main/img/icons/cs16.gif" width="16"></div> 
				<div style="position:absolute;padding:0;margin: 2px;margin-left:18px;z-index:1;opacity:0.8;display:block;width:16px;bottom:50px;right:2px;"><img src="http://cs-boost.net/template/default/main/img/flags/ru.gif" width="16"></div> 
				<div class="top-img">
				<img src="http://cs-boost.net/template/default/main/img/maps/cs16/de_dust2x2.jpg" style="border-radius:3px;">
					<div class="top-title" style="background-color:#9FD0F3;"> <a href="http://cs-boost.net/server_info/?ip=83.222.104.186:27016" title=".::[Пушки Детям Не Игрушки]::.">.::[Пушки Детям Не Игрушки]::.</a></div>
					
					
					<div class="top-info"><span class="top-map">de_dust2x2</span>
					<span class="top-players">Игроки: 31 / 32</span></div>
				</div>
				
			<div class="top-ip" style="background-color:#9FD0F3;">


	<script>document.write('<input class="input_top" title="" onClick="this.select()" type="text" value="83.222.104.186:27016" />')</script><input class="input_top" title="" onclick="this.select()" type="text" value="83.222.104.186:27016">
	<a title="играть" class="steam_top" href="steam://connect/83.222.104.186:27016"><i class="ion-steam"></i></a> </div>	
			</div>

















		<div class="top">
				<div class="top-img" style="width:200px;height:154px;">
<svg class="oph svg_buy_top" onclick="location.href='http://cs-boost.net/pay/top'" style="cursor:pointer;" width="200" height="154" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
 <g>
  <title>Layer 1</title>
  <text class="oph" font-weight="normal" xml:space="preserve" text-anchor="middle" font-family="Sans-serif" font-size="15" id="svg_1" y="68" x="101.75" stroke-width="0" stroke="#000000"...

CSS

.top-servers {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.top {
    display: inline-block;
    margin: 0 15px;
    margin-bottom: 20px;
}
.top-ip, .top-ip a {
    color: #4A4A4A;
    font-weight: bold;
    text-decoration: none;
}
.top-ip {
    background: #d1d1d1;
    height: 28px;
    line-height: 28px;
    text-align: center;
    font-size: 13px;
    border-radius: 0 0 3px 3px;
}
.top-ip, .top-ip a {
    color: #4A4A4A;
    font-weight: bold;
    text-decoration: none;
}
.steam_top {
    font-size: 1.6em;
    line-height: 0px;
    vertical-align: middle;
    margin-right: -13px;
}
.input_top[type=text] {
    background: none;
    border: none;
    width: 137px;
    padding: 0;
    margin: 0;
    color: #4A4A4A;
}
.top-img {/**/
    position: relative;
    cursor: default;
}
.top-img img,.top-img svg {/**/
    width: 100%;
}
.top-title {/**/
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    line-height: 25px;
    text-align: center;
    color: #525252;
    width: 100%;
    background: rgba(214, 214, 214, 0.78);
    font-size: 13px;
    overflow: hidden;
    border-radius: 3px 3px 0 0;
}
.top-info {
    position: absolute;
    left: 0;
    bottom: 0px;
    height: 25px;
    line-height: 25px;
    width: 100%;
    background: rgba(0,0,0,0.28);
    color: #fff;
    font-size: 11px;
}
.top-players {
    float: right;
    position: absolute;
    right: 5px;
}
.top-map {
    float: left;
    position: absolute;
    left: 5px;
}
.top-title a {
    color: #444343;
    text-decoration: blink;
}