K
K
Konstantin2018-03-28 00:15:04
linux
Konstantin, 2018-03-28 00:15:04

ASP.NET CORE application on Linux?

Good afternoon, I have an application on ASP.NET CORE, I would like to run it and test it on Linux. Please provide tutorials/materials on how to do this. Thank you!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
pLavrenov, 2014-01-10
@yos

add display:block
jsfiddle.net/n44SD

K
Krickt, 2014-01-10
@shiza36

"padding will work if the parent has a border" - it doesn't.

E
Evgeny Koelsnik, 2019-12-10
@Novol

In this case, it is better to use line-height: 35px;
I would do this:

.btn-zak{
  width:240px;
  height:35px;
  border:1px solid gray;
  border-radius:5px;
  display:block;
  margin: 50px auto;
  background:linear-gradient(to top, #fff0f5, #ffc1c1);
  text-decoration:none;
  font-size:17px; 
  color:black;
  line-height:35px;
  text-align:center;
}
.btn-zak:hover{
  opacity: 0.5;
}

<a href="#" class="btn-zak">Текст кнопки</a>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question