niche diye gaye blue code ke nice app system ui ka code laga de
.post-header-container, .post-header-container .post-share-buttons-top, .post-header-container .post-header { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* Add any additional styling or adjustments you need for the fonts */ }
only system ui lagane se performance like this
bg-photo-containerbackground image ke liye hoti hai jisko featured post blog post and popular post ke liye set kiya ja sakta hai
Is class ka upayog generally website ke individual blog posts ya content ke header section ko style karne ke liye hota hai. Header section me post ka title, author information, publication date, aur kuch additional metadata ho sakta hai.
.bg-photo-container{
height:$(body.background.height);
overflow:hidden;
position:absolute;
width:100%;
z-index:1
}
.bg-photo{
background:$(body.background);
background-attachment:scroll;
background-size:cover;
-webkit-filter:blur($(body.background.blur));
filter:blur($(body.background.blur));
height:calc(100% + 2 * $(body.background.blur));
left:$(0 - body.background.blur);
position:absolute;
top:$(0 - body.background.blur);
width:calc(100% + 2 * $(body.background.blur))
}
.bg-photo-overlay{
background:rgba(0,0,0,.26);
background-size:cover;
height:$(body.background.height);
position:absolute;
width:100%;
z-index:2
}
niche ke code code ko us se niche ke code se badal de
ye appke image ke jagha me text title ko replace nahi karega
<b:includable id='description'>
<p>
<data:this.description/>
</p>
</b:includable>
<b:includable id='image'>
<b:include name='super.image'/>
<!-- If we are replacing the title, force it to render anyway, and it'll be hidden in CSS. -->
<b:if cond='data:this.imagePlacement == "REPLACE"'>
<!-- Commenting out the line below to prevent title replacement -->
<!-- <b:include name='title'/> -->
</b:if>
</b:includable>
<b:includable id='title'>
<div>
<b:class cond='data:this.imagePlacement == "REPLACE"' name='replaced'/>
<b:include name='super.title'/>
</div>
</b:includable>
uper ke code ko niche ke code se badal de
<b:includable id='description'>
<p expr:data-ll='1'>
<data:this.description/>
</p>
</b:includable>
<b:includable id='image'>
<b:include name='super.image'/>
<!-- If we are replacing the title, force it to render anyway, and it'll be hidden in CSS. -->
<b:if cond='data:this.imagePlacement == "REPLACE"'>
<!-- Commenting out the line below to prevent title replacement -->
<!-- <b:include name='title'/> -->
</b:if>
</b:includable>
<b:includable id='title'>
<div>
<b:class cond='data:this.imagePlacement == "REPLACE"' name='replaced'/>
<b:include name='super.title'/>
</div>
</b:includable>
niche ke code ko test karna hai
:root {
--bg-height: /* Set appropriate value */;
--bg-blur: /* Set appropriate value */;
}
.bg-photo-container {
height: var(--bg-height);
overflow: hidden;
position: absolute;
width: 100%;
z-index: 1;
}
.bg-photo {
background: var(--body-background); /* Update with appropriate variable or value */
background-attachment: scroll;
background-size: cover;
-webkit-filter: blur(var(--bg-blur));
filter: blur(var(--bg-blur));
height: calc(100% + 2 * var(--bg-blur));
left: calc(0px - var(--bg-blur));
position: absolute;
top: calc(0px - var(--bg-blur));
width: calc(100% + 2 * var(--bg-blur));
}
.bg-photo-overlay {
background: rgba(0, 0, 0, 0.26);
background-size: cover;
height: var(--bg-height);
position: absolute;
width: 100%;
z-index: 2;
}
paste this code in html layout add gdeget
<b:if cond='not data:view.isPreview'>
<style type='text/css'>
.bg-photo {
background-image: url('<data:skin.vars.body_background.image/>');
background-attachment: scroll;
background-size: cover;
-webkit-filter: blur(<data:skin.vars.body_background.blur/>);
filter: blur(<data:skin.vars.body_background.blur/>);
height: calc(100% + 2 * <data:skin.vars.body_background.blur/>);
left: calc(0px - <data:skin.vars.body_background.blur/>);
position: absolute;
top: calc(0px - <data:skin.vars.body_background.blur/>);
width: calc(100% + 2 * <data:skin.vars.body_background.blur/>);
}
.bg-photo-overlay {
background: rgba(0, 0, 0, 0.26);
background-size: cover;
height: <data:skin.vars.body_background.height/>;
position: absolute;
width: 100%;
z-index: 2;
}
</style>
</b:if>
.png)
Comments
Post a Comment