Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
Been stuck for an hour and questions here in Stack Overflow about this topic seems to be outdated
I hope I understand you correctly.
.middle_content_blog_content_blocks_search_edit{
position: relative;
background: url(https://www.pinpng.com/pngs/m/290-2908373_instagram-search-icon-gray-small-search-icon-png.png);
background-repeat: no-repeat;
background-position: 100% center;
background-size: contain;
width: 100%;
height: 50px;
font-size: 16px;
border: 1px solid #878787;
box-sizing: border-box;
border-radius: 30px;
outline: none;
padding: 0 45px 0 20px;
margin: 15px 0 0 0;
}
<input type="text" class="middle_content_blog_content_blocks_search_edit" placeholder="text for search">
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 1 year ago.
Improve this question
this is the live server screenshot
I want my button to be 5*5px, but somehow the minimum width stays at 10px although I adjusted it in CSS.
Heres my CSS code for the following button :
#seat_small {
min-width: none;
width: 5px;
height: 5px;
border: 0px;
background-color: blueviolet;
border-radius: 2px;
}
How can I solve this? :/
add padding:0 to your css
#seat_small{
min-width: none;
width: 5px;
height: 5px;
border: 0px;
background-color: blueviolet;
border-radius: 2px;
padding:0;
}
<button id='seat_small'></button>
Remove the padding
#seat_small {
min-width: none;
width: 5px;
height: 5px;
border: 0px;
background-color: blueviolet;
border-radius: 2px;
padding: 0;
margin: 3em;
}
<button id="seat_small"></button>
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I am trying to make a CSS shape with a rounded bottom corner with border-radius, but failing to understand how to:
.rounded-css {
border-radius: 5px;
display: block;
background: #669999;
width: 150px;
height: 200px;
}
<div class="rounded-css"></div>
Expected output:
You can use border-radius: 0 0 50% 50%; to make the whole bottom part round. With adding a white pseudo element ::after, you can "cut" the unwanted upper part to only show the curve:
.rounded {
border-radius: 0 0 50% 50%;
display: block;
background: #669999;
width: 100%;
height: 70px;
margin-top: -35px;
}
.rounded::after {
content: "";
display: block;
width: inherit;
height: 35px;
background: white;
}
<div class="rounded"></div>
I think you can adapt this to the container you want to put this in. I think it's pretty much what you are looking for.
.rounded-css {
border-radius: 100%;
display: block;
background: black;
border-bottom: 40px #669999 solid;
border-top: 40px transparent solid;
position: relative;
top: -60px;
overflow: hidden;
}
<div class="rounded-css"></div>
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm trying to create a jumbotron (maybe use another component) with left arrow attached that's pointing to the text in the left another column.
The image bellow shows exactly what i'm trying to do.
How exactly does this work and how is it accomplished?
left-arrow-box
This can be done by using another component with customized border attribute.
For example,
CSS:
.jumbo {
position: relative;
display: inline-block;
border-bottom: 1px dotted black;
}
.jumbo .arrow {
width: 120px;
background-color: black;
color: #fff;
text-align: center;
padding: 5px 0;
position: absolute;
z-index: 1;
top: -5px;
left: 110%;
}
.arrow::after {
content: "";
position: absolute;
top: 20%;
right: 100%;
margin-top: -8px;
border-width: 20px;
border-style: solid;
border-color: transparent black transparent transparent;
}
HTML:
<div class="jumbo">
<span class="arrow">Jumbotron</span>
</div>
P.S. You may need to adjust the attributes to fit your needs.
Here is the jsfiddle
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
How can I make this shape in html5 and css3?
#big {
position: relative;
background: black;
width: 600px;
height: 600px;
}
#in {
position: absolute;
background: black;
width: 280px;
height: 280px;
bottom:0;
right: 0;
border-top: 20px solid white;
border-left: 20px solid white;
}
<div id="big">
<div id="in"></div>
</div>
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have made a simple html form.
check the image please
I want the save button to but in the middle vertically
Sorry I couldn't do that, maybe you can help me.
This is a jsfiddle http://jsfiddle.net/pYww5/
The code of the button is
.dark-matter .button {
background: #FFF;
border: none;
padding: 10px 25px 10px 25px;
color: #333;
position:relative;
border-radius: 4px;
}
.dark-matter .button {
background: #fff;
border: none;
padding: 10px 25px 10px 25px;
color: #333;
border-radius: 4px;
position: relative;
left: 28%;
}