Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/41.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 我怎样才能加价呢?_Html_Css_Markup - Fatal编程技术网

Html 我怎样才能加价呢?

Html 我怎样才能加价呢?,html,css,markup,Html,Css,Markup,我有一张照片,它看起来像这样: 我想用HTML和CSS标记它 我希望曲线部分始终位于屏幕的中心,并具有内容。 我希望扁平零件根据用户屏幕的宽度而展开 我怎么做?谁能给我举个例子吗 谢谢您的关注。您可以试试这个 html 因此,根据需要,这里是最终的 html 根据中间的大小是否是静态的,我可以看到这是用3个元素完成的,覆盖了屏幕的100%。而你们可以使用真实的图像(左侧和右侧只是作为背景重复的细条)。对边界半径、线性渐变和框阴影进行一点研究可能会让您朝着正确的方向前进。一个三列的表格,宽度为

我有一张照片,它看起来像这样:

我想用HTML和CSS标记它

我希望曲线部分始终位于屏幕的中心,并具有内容。 我希望扁平零件根据用户屏幕的宽度而展开

我怎么做?谁能给我举个例子吗


谢谢您的关注。

您可以试试这个

html


因此,根据需要,这里是最终的

html


根据中间的大小是否是静态的,我可以看到这是用3个元素完成的,覆盖了屏幕的100%。而你们可以使用真实的图像(左侧和右侧只是作为背景重复的细条)。对
边界半径
线性渐变
框阴影
进行一点研究可能会让您朝着正确的方向前进。一个三列的表格,宽度为100%,中间定义了一个特定的宽度(px)
td
,这是一个表格,但不是唯一的方法……中间的大小是静态的,是的。我会使用图像,但我不想使用表,有CSS的方式吗?当然,你需要一个中间的固定列的流体布局。你在使用CSS框架吗?这是我能得到的最接近的。。。由于我对桌子比较有经验,我没有将内拱分区居中/太棒了,但是边线不会伸展。如何实现它?签出编辑的demo.ha。。非常感谢你。做我的星期五。。!!
#test{
    width: 50px;
    height: 600px;
    background: green;
    position: absolute;
    top:0;
    left:0;
    right:0;
    margin: auto;
    display: inline-block;
    -webkit-transform: translate(300px) rotate(90deg) ;
    -webkit-transform-origin: left top;
}

#test:after{
    background: white;
    height: 600px;
    width: 100px;
    border-radius: 100px 0 0 100px / 600px 0 0  600px;
    display: inline-block;
    content: '';
    position: relative;
    left: 25px;
}
<div id="testbefore"></div>
<div id="test"></div>
body, html {
    margin:0;
    padding:0;
    width:100%;
}
#testbefore {
    width: 100%;
    height: 50px;
    background: green;
}
#test {
    width: 50px;
    height: 600px;
    background: green;
    position: absolute;
    top:0;
    left:0;
    right:0;
    margin: auto;
    display: inline-block;
    -webkit-transform: translate(300px) rotate(90deg);
    -webkit-transform-origin:top;
}
#test:after {
    background: white;
    height: 600px;
    width: 100px;
    border-radius: 100px 0 0 100px / 600px 0 0 600px;
    display: inline-block;
    content:'';
    position: relative;
    left: 50px;
}