Questions tagged [skew]
382 questions
4
votes
1 answer
Slant/Skew only bottom of div
I have been trying to add a Skew/Slant to the bottom of a div. I have had some success, as you can see on the example below, I have managed to apply the skew to a couple of the elements on the page.
Currently the Skew is applied to both the top and…

Chris
- 313
- 1
- 4
- 21
4
votes
3 answers
CSS triangular cutout with border and transparent gap
I need to draw the following pattern with CSS as a separator between sections of my page:
Using the skewX() technique from this answer, I was able to mimic the triangular cutout accurately (two pseudo-elements are appended to the top of the lower…

daGUY
- 27,055
- 29
- 75
- 119
4
votes
1 answer
How to create images in CSS with slanted borders
What I am going for
I have an image, that needs to appear inside a polygon. The hot pink area is the image.
What I have tried
Using SVG triangle shapes (100% wide) that are laid on top and bottom of the image. Top-left triangle on top and…

Prashant
- 7,340
- 2
- 25
- 24
4
votes
1 answer
SkewY with different values top and bottom
I would like to make a shape where the top is skewY -10deg and the bottom is 10deg to produce the shape as seen in the picture:
I can't seem to figure out how to accomplish this.

Christi Yarema
- 93
- 2
- 9
4
votes
1 answer
Why are these Random Numbers slowly gravitating towards a negative value?
The program is supposed to do the following:
Initializes a grid of values, "ActualGridValues", (X rows by Y columns) equal to 0.
Creates another grid of values, "RandomGridValues", (X rows by Y columns), defines each cell in the grid as equal to…

user2161457
- 61
- 1
- 1
- 7
3
votes
2 answers
How do you reverse a skew transformation in the Flash IDE?
Place a 100px by 100px box on the stage (not a movieclip, just a simple shape).
Now apply a vertical skew of 30 degrees. You should get this...
Click outside of the shape to release the transformation data. The degrees for skew resets to 0 (this…

Chris
- 54,599
- 30
- 149
- 186
3
votes
1 answer
Android Bitmap shaped Rhomboid
I have to implement Bitmap whose shape is like a rhomboid(For ref. I have attached sample image for it.) and the source image is rectangular. I do want to make the image to be skewed, cut the image in this shape.
Can anyone give me any idea how it…

dev_android
- 8,698
- 22
- 91
- 148
3
votes
1 answer
How to use salting technique for joining data frames having skewed data
I am new to spark and trying to understand how to deal with skewed data in spark. I have created two tables employee and department. Employee has skewed data for one of the department.
One of the solution is to broadcast the department table and…

Ankur
- 893
- 3
- 12
- 29
3
votes
2 answers
Improving image deskew using Python and OpenCV
The code I've produce to detect and correct skew is giving me inconsistent results. I'm currently working on a project which utilizes OCR text extraction on images (via Python and OpenCV), so removing skew is key if accurate results are desired. My…

erik7970
- 693
- 1
- 8
- 21
3
votes
2 answers
Calculate weighted statistical moments in Python
I've been looking for a function or package that would allow me to calculate the skew and kurtosis of a distribution in a weighted way, as I have histogram data.
For instance I have the data
import numpy as np
np.array([[1, 2],
[2, 5],
…

hex93
- 319
- 3
- 15
3
votes
3 answers
Calculate skew and kurtosis by year in R
I have a table that looks like this:
start_table <- data.frame("Water_Year" = c("1903", "1903", "1904", "1904"), "X" = c(13, 11, 12,
15), "Day" = c(1, 2, 1, 2))
(The 'Day' column is not involved in my skew & kurtosis calculation, it is just in my…

Sarah
- 411
- 4
- 14
3
votes
1 answer
Skew div with pure CSS and allow image to fill skewed area
I have a small Problem. I am trying to make the structure from image. I have the CSS and HTML
.mask-skew {
transform: skewX(-10deg);
/*width: 300px;*/
height: 390px;
overflow: hidden;
margin: 5px;
/*border: 2px solid…

Tatar Jony
- 69
- 1
- 8
3
votes
2 answers
Skewing image without distorting it
Can i do this effect on an image without distorting it? i tried the skew effect using css but it rotates the image somehow and crops half of it, i want it to stay as it is in it's position with the same size and everything but with the edges like…

Judy M.
- 243
- 1
- 4
- 12
3
votes
2 answers
Estimating moments from a distribution function
I have a non-normal distribution function which I want to calculate it's moments (mean, variance, skewness, and kurtosis).
The packages I know are e1071 and moments which calculate the moments for a vector of discrete values. Is there a package that…

Novic
- 351
- 1
- 11
3
votes
2 answers
How can I create a skewed footer with CSS?
I am trying to create a skewed footer with HTML/CSS. Here is what I have:
body {
margin: 0;
display: flex;
flex-direction: column;
min-height: 100vh;
}
header {
background: red;
height: 50px;
}
main {
flex: 1;
…

inhwrbp
- 569
- 2
- 4
- 17