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>
Related
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 2 years ago.
Improve this question
I am designing one card just like this.
I am wondering how to create a vertical line just below the circle as shown in the picture.
You can use CSS with position to achieve it along with ::before:
.circle {
width: 100px;
height: 100px;
border: 2px solid #ccc;
border-radius: 100%;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
position: relative;
margin-top: 50px;
}
.circle:first-child {
margin-top: 0;
}
.circle::after {
position: absolute;
content: "";
display: block;
border: 2px solid #ccc;
left: 50%;
bottom: 100%;
height: 50px;
margin-left: -2px;
}
.circle:first-child::after {
display: none;
}
<div class="wrap">
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
</div>
Preview
adjust the height and width of horizontal to be a vertical line using hr tag
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">
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 5 years ago.
Improve this question
I had this structure and I want div "icon" to move dynamically when text is long
Any ideas ?
Thank you.
.tit {
display: table;
}
.icon {
border-top: 5px solid currentcolor;
border-right: 5px solid currentcolor;
min-width: 42px;
float: left;
height: 22px;
margin-top: -23px;
margin-left: 25px;
}
<div class="tit">Titleeeeeeeeeeeeeeeee</div>
<div class="icon"></div>
A wrapper as flexbox.
.wrapper {
display: flex;
}
.icon {
border-top: 5px solid currentcolor;
border-right: 5px solid currentcolor;
min-width: 42px;
height: 22px;
margin-left: -40px;
}
<div class="wrapper">
<div class="tit">Titleeeeeeeeeeeeeeeee</div>
<div class="icon"></div>
</div>
wrap the div class="tit" in div class="icon"
<div class="icon">
<div class="tit">Titleeeeeeeeeee</div>
</div>
jsfiddle example
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 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%;
}