Block header

Hello,anyone who can help me how to create block header like this one from pictures.tnx

It would help if you were a bit more specific about the problem.

Show us the code (HTML and CSS) you have so far, and explain where you need the help.

I’m not clear about what you mean by “block header”, but going by the image it looks like you want to have a background with a linear gradient and a right angle character aligned right.


block header means something like this

hm i will try with gradient thx for help…

Oke i made it with gradient

.gradient {
    position: relative;
    color: white;
    font-size: 100%;
    font-weight: bold;
    height: 30px;
    margin-bottom: .625em;
    width: 100%;
    float: left;
      to right, 
      #03A9F4 15%,
      #03A9F4 80%,
      #01579B 80%

    float: right;
     margin: -5px 4px 15px 15px;


but i dont know how to skew left side

Tnx Mittineague for help

Change the direction from to right to an angular value which can be expressed in degrees, like 30deg.

just replace 30deg with to right?

1 Like

replaced with 105deg and bingo thats it tnx guys


This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.