У нас была проблема с разными цветами фона для наших отрезанных элементов. И нам нужен только верхний правый и нижний левый угол.
body {
background-color: rgba(0,0,0,0.3)
}
.box {
position: relative;
display: block;
background: blue;
text-align: center;
color: white;
padding: 15px;
margin: 50px;
}
.box:before,
.box:after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: 100%;
border-bottom: 15px solid blue;
border-left: 15px solid transparent;
border-right: 15px solid transparent;
}
.box:before{
border-left: 15px solid blue;
}
.box:after{
border-right: 15px solid blue;
}
.box:after {
bottom: auto;
top: 100%;
border-bottom: none;
border-top: 15px solid blue;
}
/* Active box */
.box.active{
background: white;
color: black;
}
.active:before,
.active:after {
border-bottom: 15px solid white;
}
.active:before{
border-left: 15px solid white;
}
.active:after{
border-right: 15px solid white;
}
.active:after {
border-bottom: none;
border-top: 15px solid white;
}
Some text goes here. Some text goes here. Some text goes here. Some text goes here.
Some text goes here.
Some text goes here.
Some text goes here.
Some text goes here.
Some text goes here.
Some text goes here.
Some text goes here.
Some text goes here.
Я предлагаю вам предоставить отдельного пользователя для mysqladmin и дать ему минимальные привилегии. Это может сократить уязвимость для хакеров.
mysqladmin
похож на mysql
, он использует аргументы для определения, какого пользователя, какого хоста и нужно ли запрашивать пароль:
-p
- запрашивать пароль динамически (сложно использовать в пакетном скрипте) -pMyPwd
- предоставить пароль (не очень безопасный) Вы можете использовать mysql_config_editor
для установки пароля особым образом, так что вам не нужно включать -p
.