Questions tagged [css]
CSS stands for Cascading Style Sheets and it is almost use for styling XML (Extensible Markup Language) and HTML (Hyper Text Markup Language) documents like fonts, layouts and colors.
29 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
53
views
Gap showing between canvas element and div container
I am fleshing out a small desktop game that will be HTML5-based.
Grid zone 3 uses one canvas element, and that is placed correctly without any visible gaps between the edge of the canvas and the ...
0
votes
1
answer
74
views
How to make my element size itself properly in my canvas element
Before I start my question, let me clarify that I'm not using <canvas>, I'm using <div id="canvas">, so I'...
0
votes
0
answers
80
views
How to add an HTML + CSS overlay to a DirectX app?
I'm looking for a way to render html and css elements within an executable as an overlay.
There are programs today made in electron such as Blitz or even the best known Discord. They do overlay within ...
0
votes
1
answer
166
views
Web application for efficient placement of blocks
Task: to develop a function that efficiently places rectangular blocks in
rectangular 2D container. The location of the blocks in the container should be
as dense as possible in order to rationally ...
1
vote
2
answers
856
views
How can I right-align elements in Unity's UI Toolkit scroll view?
I've tried a basic google search and am still having trouble with this one.
Unity encourages the use of UI Toolkit at this point, as opposed to their old system, so that's what I'm going with; I have ...
1
vote
1
answer
2k
views
Besides 3d, why would I need to use a canvas instead of using plain css and html?
Purely speaking for the use of 2d.
First off, redrawing the canvas on every frame seems quite inefficient. Even when you can create multiple to not redraw everything etc.
CSS animations to move ...
0
votes
1
answer
255
views
How do you make html elements not blurry
I was making a html game and all the elements are blurry is there a fix to this?
I use css but it makes it blurry
Code
...
0
votes
2
answers
152
views
Turn based game in HTML/JS/CSS - new joiner messes with state of game while animations are still running for other players
I developed a playing cards web app using HTML/JS/CSS.
Communication with the server is performed using WebSocket.
The server is developed in Java Spring.
The game proposes to join one of the many ...
0
votes
0
answers
89
views
Keyboard arrow Navigation
My crossword is a table made with <td> tags. The input boxes are textboxes (input="text"), styled with CSS. My question is how do you get the focus to the ...
0
votes
1
answer
608
views
Link CSS file with HTML file in Unity Power UI
I want to link css file with html in Unity with the help of Power UI. I already converted css file into bytes format but it not still worked. Here is the code
...
1
vote
1
answer
110
views
What should i use as a board for my game? [closed]
I'm a beginning programmer and i need to make a game. The rough idea revolves around fleets fighting in turn based battles while you control your factions resources and manpower.
The original concept ...
1
vote
2
answers
116
views
Why are my shapes teleporting to the center of the map?
I am making a Diep.io Clone, and everything was going smooth until I made a collision resolution system for when a shape collides with another shape. Instead of them bouncing off of each other, they ...
1
vote
1
answer
2k
views
How do I make my character jump on a platform?
This is the code I've written so far:
Html:
...
1
vote
1
answer
316
views
Twine game animated blur effect
I'm making a horror text adventure using Twine (snowman version, which uses HTML, CSS, Javascript, JQuery, and Markdown). I wanted to know what the best (easiest) way is, you think, for creating a ...
3
votes
2
answers
891
views
How can I detect hex edges and corners for Catan map?
The following messy code implements a decent hex map, but I have no way to detect edges and corners:
...