SitePoint Forums » HTML & CSS
331 FOLLOWERS
SitePoint is one of the largest online communities of web professionals. This section is for discussions and questions relating to page structure and layout, from HTML5 and the proper use of elements to styling issues, browser bugs, media queries, and responsive design.
SitePoint Forums » HTML & CSS
2h ago
Hi,
I have the following code that adds some drop shadow to an SVG, but I can’t seem to get the white to be more stronger/brighter. I would like it to be centered on the image, so I have used 0px; 0px;
Is there a way to make it brighter/bigger?
This is the code I’m using:
filter: drop-shadow(0px 0px 12px $white);
Thanks!
2 posts - 2 participants
Read full topic ..read more
SitePoint Forums » HTML & CSS
2d ago
Hello,
i have been a this for a while
please see
https://forallthetime.com/BUCK-ISLAND/index.html
i am trying to increse the font-size for ALL the white text throught my project, specificaly the p elements
i tried
.amenities-nav p {
font-size: 30px;
}
i would think this would be simple
please pass on the code and explain how you fixed my problem
thank you
2 posts - 2 participants
Read full topic ..read more
SitePoint Forums » HTML & CSS
2d ago
Hi there,
I have the following fiddle which pulsates a dot:
jsfiddle.net Edit fiddle - JSFiddle - Code Playground
Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor.
What I would like to do is have a bolt icon pulse as well as having the outer pulse/glow in the shape of the bolt, but not sure how to do this. Would I need to draw the pulse shape in CSS? Any suggestions would be great!
Thanks
1 post - 1 participant
Read full topic ..read more
SitePoint Forums » HTML & CSS
3d ago
Hello,
I have a quick question regarding code organization. Currently, I’m using my main page index.html file, which contains only HTML code for the navigation bar. I’m using htmx to dynamically render content based on the selected navigation element on the server side (using express) . As a result, most of my HTML structure, apart from the navigation bar itself, resides in my server.js file.
However, I’m unsure if this approach is the most effective. My index.html file appears quite empty, while my server.js file feels overloaded with code, as it handles not only rendering HTML but also inclu ..read more
SitePoint Forums » HTML & CSS
1w ago
Hello can a member tell me about how to link a url with this below code.This code is about to disable button after click for specific time kindly help me how can I add url to this code
<html>
<head>
</head>
<body>
<button id="button">click me</button>
</body>
<script type="text/javascript">
var myButton=document.getElementById("button");
function storeTime(theTime)
{
localStorage.setItem("time", theTime);
}
function check()
{
var now=ne ..read more
SitePoint Forums » HTML & CSS
1w ago
I have so far created a header with some animations in. I then created a content div with another animation in. It should just appear after the header section but it doesn’t appear at all until you shrink the screen to mobile view.
Any tips on finding out why? Here’s the site:
http://web-legend.com/cssproject/
5 posts - 2 participants
Read full topic ..read more
SitePoint Forums » HTML & CSS
1w ago
If anyone reading this is uncomfortable with the subject of abortion I suggest you move on. This is a little political reference I created for my own personal use on my own personal phone — no one else’s! It therefore has a width. It’s the only way I could get it to render properly. The document consists primarily of 3 tables with nth child striping, one of which — the very first table — consists of just 2 rows.
I’ve limped this along as far as I can get it but it has 3 problems that just stump me, notwithstanding the fact that I went through the entire document and scrupulously placed every s ..read more
SitePoint Forums » HTML & CSS
1w ago
Hi there,
I have this html and css code(did not make it) that is a animated switch. I’d like the switch, once activated and the switch moves down (click release) to take me to another page.
I’m not sure how to do this in the HTML?
The new page would open in ;
I’m learning and playing with HTML, CSS and JS.
<div >
<label >
< input type="checkbox">
<span ></span>
</label>
</div>
/* The switch - the box around the slider */
.switch {
font-size: 17px;
position: relative;
display: inline-block ..read more
SitePoint Forums » HTML & CSS
1w ago
How to make slices borders from an image and make it as action on the website?
Is there AI and paid professional software which can do it using one click?
Maybe AI can help it and make borders like municipality or regions as a link?
1 post - 1 participant
Read full topic ..read more
SitePoint Forums » HTML & CSS
2w ago
How can place the aside tag section in centre instead of left or right?
I am able to move the aside tag section to left or right using float:left and float:right, but there is no option line float:centre?
I will be thankful for any help!
3 posts - 2 participants
Read full topic ..read more