mirror of
https://github.com/voltbonn/profile-picture-generator.git
synced 2024-12-22 15:55:08 +00:00
moved css from .hashtag_button to button
This commit is contained in:
parent
5a4a1b1372
commit
0102b867bf
1 changed files with 10 additions and 10 deletions
20
src/App.css
20
src/App.css
|
@ -78,22 +78,13 @@ a:hover{
|
|||
}
|
||||
|
||||
.HashtagChooser .hashtag_button {
|
||||
position: relative;
|
||||
/* display: block; */
|
||||
margin: 1vmin;
|
||||
}
|
||||
.HashtagChooser .hashtag_button.choosen:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: -0.5vh;
|
||||
right: -0.5vh;
|
||||
bottom: -0.5vh;
|
||||
left: -0.5vh;
|
||||
box-shadow: 0 0 0 0.5vh white;
|
||||
}
|
||||
|
||||
button,
|
||||
.labelButton{
|
||||
position: relative;
|
||||
outline: none;
|
||||
border: none;
|
||||
margin: 2vh;
|
||||
|
@ -111,6 +102,15 @@ button:hover,
|
|||
transform-origin: center center;
|
||||
transform: scale(1.05);
|
||||
}
|
||||
button.choosen:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: -0.5vh;
|
||||
right: -0.5vh;
|
||||
bottom: -0.5vh;
|
||||
left: -0.5vh;
|
||||
box-shadow: 0 0 0 0.5vh white;
|
||||
}
|
||||
|
||||
.labelButton img{
|
||||
display: inline;
|
||||
|
|
Loading…
Reference in a new issue