Template:HexCSS: Difference between revisions
Content deleted Content added
No edit summary |
XavierStordiz changed the content model of the page Template:HexCSS from "plain text" to "Sanitized CSS" Tag: content model change |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
.hextop |
|||
.hexagon { |
|||
{ |
|||
position: relative; |
|||
⚫ | |||
height: 100px; |
|||
border-top: 52px solid transparent !important; |
|||
width: 57.74px; |
|||
border- |
border-bottom: 52px solid transparent !important; |
||
display: inline-block; |
|||
⚫ | |||
} |
} |
||
.hexmid |
|||
.hexagon:before, |
|||
{ |
|||
.hexagon:after { |
|||
width: 60px; |
|||
height: 104px; |
|||
display: inline-block; |
|||
width: 70.71px; |
|||
height: 70.71px; |
|||
transform: scaleY(0.5774) rotate(-45deg); |
|||
background-color: inherit; |
|||
left: 14.6447px; |
|||
} |
} |
||
.hexbot |
|||
.hexagon:before { |
|||
{ |
|||
top: -35.3553px; |
|||
border- |
border-left: 30px solid; |
||
border- |
border-top: 52px solid transparent !important; |
||
⚫ | |||
} |
|||
display: inline-block; |
|||
.hexagon:after { |
|||
bottom: -35.3553px; |
|||
⚫ | |||
border-left: solid 1.4142px #000000; |
|||
} |
} |
Latest revision as of 20:02, 14 June 2023
.hextop
{
border-right: 30px solid;
border-top: 52px solid transparent !important;
border-bottom: 52px solid transparent !important;
display: inline-block;
}
.hexmid
{
width: 60px;
height: 104px;
display: inline-block;
}
.hexbot
{
border-left: 30px solid;
border-top: 52px solid transparent !important;
border-bottom: 52px solid transparent !important;
display: inline-block;
}