How can I create a slanted slanted header text next to it?


Jarcena

.image {
  min-height: 100vh;
}

.bg-image {
  background-image: url('https://picsum.photos/1440/900');
  background-size: cover;
  background-position: center;
}
<!--About Us -->
<div class="container-fluid">
  <div class="row no-gutter">
    <div class="d-none d-md-flex col-md-4 col-lg-6 bg-image"></div>
    <div class="col-md-8 col-lg-6 remove-padding">
      <div class="page d-flex align-items-center py-5">
        <div class="container">
          <div class="row">
            <div class="col-md-9 col-lg-8 mx-auto">
              <h1 class="heading">About Us</h1>
              <p class="content"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen
                book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more
                recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
              <p class="content">
                Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has
                survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with
                desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
              </p>
              <p class="contents">
                Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has
                survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with
                desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
              </p>
              <a href="#" class="button">
                <button class="btn btn-primary" type="button" name="button">Click here</button>
              </a>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

I'm trying to do an angled border design , I've tried using a slope, but it doesn't work in my design. Please refer to the following line of code:

enter image description here

RedJanvier

This is how I use skewX, just replace the class title with h1 in the code:

<div class="about-heading">
   <div class="brown-skew"></div>
   <h1 class="heading">About Us</h1>
</div>

and add to CSS:

.about-heading {
    height: 48px;
    display: flex;
    overflow: hidden;
    align-items: center;
}

.brown-skew {
    background-color: #DC8700;
    height: 4em;
    width: 6em;
    transform: skewX(-20deg);
    position: relative;
    left: -20px;
}

Related


How can I create a slanted slanted header text next to it?

Jarcena .image { min-height: 100vh; } .bg-image { background-image: url('https://picsum.photos/1440/900'); background-size: cover; background-position: center; } <!--About Us --> <div class="container-fluid"> <div class="row no-gutter"> <div cla

How can I create a slanted slanted header text next to it?

Jarcena .image { min-height: 100vh; } .bg-image { background-image: url('https://picsum.photos/1440/900'); background-size: cover; background-position: center; } <!--About Us --> <div class="container-fluid"> <div class="row no-gutter"> <div cla

How can I create a slanted slanted header text next to it?

Jarcena .image { min-height: 100vh; } .bg-image { background-image: url('https://picsum.photos/1440/900'); background-size: cover; background-position: center; } <!--About Us --> <div class="container-fluid"> <div class="row no-gutter"> <div cla

How to create a slanted SVG image with slanted text

very cool I am trying to create a slanted image in svg with slanted text as shown in the image below I tried to create the same format but couldn't create the same design as the overall text display, you can also see the columns below attached horizontally dow

How to create a div with slanted text?

Mike Oberdick Okay, I've tried a lot and would like to know what you guys think. Right now, I'm using a floating control to get it working, but that's preventing me from styling the right post with flexbox. Here is what I am trying to create: This is my CSS (c

How to create a div with slanted text?

Mike Oberdick Okay, I've tried a lot and would like to know what you guys think. Right now, I'm using a floating control to get it working, but that's preventing me from styling the right post with flexbox. Here is what I am trying to create: This is my CSS (c

How can I reduce the width of the slanted column header?

Khansab Here is the output table: I'm looking for a solution that can reduce the width of the table header, I've tried several solutions, but none of them work. Below is my code: <Style> /*additional CSS*/ td, th { border: 1px solid black; fon

How can I reduce the width of the slanted column header?

Khansab Here is the output table: I'm looking for a solution that can reduce the width of the table header, I've tried several solutions, but none of them work. Below is my code: <Style> /*additional CSS*/ td, th { border: 1px solid black; fon

How can I reduce the width of the slanted column header?

Khansab Here is the output table: I'm looking for a solution that can reduce the width of the table header, I've tried several solutions, but none of them work. Below is my code: <Style> /*additional CSS*/ td, th { border: 1px solid black; fon

How to create a slanted background with CSS?

cannon moyer I am attaching an image to show the exact layout. The lines in the photo are only there to show where the color should be changed. Here's some code I've tried, but it doesn't seem ideal. .block { background-color: black; left: -50; height: 1

How to create a slanted background with CSS?

cannon moyer I am attaching an image to show the exact layout. The lines in the photo are only there to show where the color should be changed. Here's some code I've tried, but it doesn't seem ideal. .block { background-color: black; left: -50; height: 1

How to create a slanted border with CSS

Filip Nilsson I want to cut the border as shown in the image below: The cut out area should be transparent if possible. Here is my current code: .main { height: 50px; background-color: #d6d6d6; } footer { height: 93px; background-color: #ff613

How to create a slanted background with CSS?

cannon moyer I am attaching an image to show the exact layout. The lines in the photo are only there to show where the color should be changed. Here's some code I've tried, but it doesn't seem ideal. .block { background-color: black; left: -50; height: 1

How can I make the image "normal" in a slanted div?

Wiski So I want to make a diamond with an image, but the image is distorted. I am going to make it level (normal) and fill with diamonds. code I wrote . .diamond { width: 300px; height: 300px; border: 3px solid white; outline: 2px solid black; outlin

How can I add a slanted border or something like this site?

mashrafi In this site they use a big picture before the www.acaml.com text, then how do they handle the angle separately after these navigations? Please check the image <!DOCTYPE html> AleDP Instead of CSS borders, they use a background image (the url of the

How can I add a slanted border or something like this site?

mashrafi In this site they use a big picture before the www.acaml.com text, then how do they handle the angle separately after these navigations? Please check the image <!DOCTYPE html> AleDP Instead of CSS borders, they use a background image (the url of the

How can I make the image "normal" in a slanted div?

Wiski So I want to make a diamond with an image, but the image is distorted. I am going to make it level (normal) and fill with diamonds. code I wrote . .diamond { width: 300px; height: 300px; border: 3px solid white; outline: 2px solid black; outlin

How can I dock the slanted div to the above div?

random dude I'm trying to add a div to another div so that its top border doesn't move when it is tilted. HTML code: <div class="Container"> <div class="Main"> </div> <div class="Shadow"></div> </div> CSS code: .Shadow { height:70px; wid

How can I make my vscode fonts slanted like sublime?

Qiwei Wang I'm using the same font (Consolas) in VScode and sublime . But it doesn't look the same in the same place: Here is my sublime setup: { "auto_complete_selector": "source,text", "color_scheme": "Packages/Material Theme/schemes/Material-Theme-D

How can I add a slanted border or something like this site?

mashrafi In this site they use a big picture before the www.acaml.com text, then how do they handle the angle separately after these navigations? Please check the image <!DOCTYPE html> AleDP Instead of CSS borders, they use a background image (the url of the

How can I make the image "normal" in a slanted div?

Wiski So I want to make a diamond with an image, but the image is distorted. I am going to make it level (normal) and fill with diamonds. code I wrote . .diamond { width: 300px; height: 300px; border: 3px solid white; outline: 2px solid black; outlin

How can I make the image "normal" in a slanted div?

Wiski So I want to make a diamond with an image, but the image is distorted. I am going to make it level (normal) and fill with diamonds. code I wrote . .diamond { width: 300px; height: 300px; border: 3px solid white; outline: 2px solid black; outlin

How can I make the image "normal" in a slanted div?

Wiski So I want to make a diamond with an image, but the image is distorted. I am going to make it level (normal) and fill with diamonds. code I wrote . .diamond { width: 300px; height: 300px; border: 3px solid white; outline: 2px solid black; outlin

How can I make the image "normal" in a slanted div?

Wiski So I want to make a diamond with an image, but the image is distorted. I am going to make it level (normal) and fill with diamonds. code I wrote . .diamond { width: 300px; height: 300px; border: 3px solid white; outline: 2px solid black; outlin

How can I add a slanted border or something like this site?

mashrafi In this site they use a big picture before the www.acaml.com text, then how do they handle the angle separately after these navigations? Please check the image <!DOCTYPE html> AleDP Instead of CSS borders, they use a background image (the url of the

How can I add a slanted border or something like this site?

mashrafi In this site they use a big picture before the www.acaml.com text, then how do they handle the angle separately after these navigations? Please check the image <!DOCTYPE html> AleDP Instead of CSS borders, they use a background image (the url of the

How to slant an element but keep the text normal (not slanted)

Preston Is it possible to replicate this image using only CSS? I want to apply this to the menu, so the brown background appears on the hoverinstance I don't know what to do, I only have. .menu li a:hover{ display:block; background:#1a0000; padd

How to slant an element but keep the text normal (not slanted)

Preston Is it possible to replicate this image using only CSS? I want to apply this to the menu, so the brown background appears on the hoverinstance I don't know what to do, I only have. .menu li a:hover{ display:block; background:#1a0000; padd