I would like to know how to replace this:
.otros{
position: fixed;
top: 116px;
z-index: 100;
left: 0;
}
by this:
.otros{
position: fixed;
top: 70%;
z-index: 100;
left: 0;
}
The content of the file is similar to the following:
.social a:not(:hover){
width: 70px;
-webkit-transition: 600ms;
-o-transition: 600ms;
-ms-transition: 600ms;
}
.social div a:not(:hover){
width:200%;
}
.otros{
position: fixed;
top: 116px;
z-index: 100;
left: 0;
}
This command doesn't work:
sed 's/.otros{\ntop*:*;\n}/.otros{\ntop:70%;\n}/g' estilos.css
The result is:
.social a:not(:hover){
width: 70px;
-webkit-transition: 600ms;
-o-transition: 600ms;
-ms-transition: 600ms;
}
.social div a:not(:hover){
width:200%;
}
.otros{
position: fixed;
top: 116px;
z-index: 100;
left: 0;
}
How to replace specific lines?